home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Information / Digests / CSMP Digest / volume 3 / csmp-digest-v3-068 / doubleCR.1 < prev   
Encoding:
Text File  |  1995-12-31  |  86.2 KB  |  2,205 lines

  1. C.S.M.P. Digest             Thu, 17 Nov 94       Volume 3 : Issue 68
  2.  
  3. Today's Topics:
  4.  
  5.         How do you get the bit depths the main device supports?
  6.         MIDI programming
  7.         Memory management in the Real World, part 2
  8.         Q: Sound Input Device
  9.         QC FAQ
  10.         ResEdit 2.1.3, is it good this time?
  11.         Shareware, VISA Merchant Accounts, and YOU!
  12.         Smalltalk implementations for Mac - update needed
  13.         What is MIDI Manager etc (reply)
  14.  
  15.  
  16.  
  17. The Comp.Sys.Mac.Programmer Digest is moderated by Francois Pottier
  18. (pottier@clipper.ens.fr).
  19.  
  20. The digest is a collection of article threads from the internet newsgroup
  21. comp.sys.mac.programmer.  It is designed for people who read c.s.m.p. semi-
  22. regularly and want an archive of the discussions.  If you don't know what a
  23. newsgroup is, you probably don't have access to it.  Ask your systems
  24. administrator(s) for details.  If you don't have access to news, you may
  25. still be able to post messages to the group by using a mail server like
  26. anon.penet.fi (mail help@anon.penet.fi for more information).
  27.  
  28. Each issue of the digest contains one or more sets of articles (called
  29. threads), with each set corresponding to a 'discussion' of a particular
  30. subject.  The articles are not edited; all articles included in this digest
  31. are in their original posted form (as received by our news server at
  32. nef.ens.fr).  Article threads are not added to the digest until the last
  33. article added to the thread is at least two weeks old (this is to ensure that
  34. the thread is dead before adding it to the digest).  Article threads that
  35. consist of only one message are generally not included in the digest.
  36.  
  37. The digest is officially distributed by two means, by email and ftp.
  38.  
  39. If you want to receive the digest by mail, send email to listserv@ens.fr
  40. with no subject and one of the following commands as body:
  41.     help                        Sends you a summary of commands
  42.     subscribe csmp-digest Your Name    Adds you to the mailing list
  43.     signoff csmp-digest            Removes you from the list
  44. Once you have subscribed, you will automatically receive each new
  45. issue as it is created.
  46.  
  47. The official ftp info is //ftp.dartmouth.edu/pub/csmp-digest.
  48. Questions related to the ftp site should be directed to
  49. scott.silver@dartmouth.edu. Currently no previous volumes of the CSMP
  50. digest are available there.
  51.  
  52. Also, the digests are available to WAIS users.  To search back issues
  53. with WAIS, use comp.sys.mac.programmer.src. With Mosaic, use
  54. http://www.wais.com/wais-dbs/comp.sys.mac.programmer.html.
  55.  
  56.  
  57. -------------------------------------------------------
  58.  
  59. >From mxmora@unix.sri.com (Matt Mora)
  60. Subject: How do you get the bit depths the main device supports?
  61. Date: 31 Oct 1994 11:56:33 -0800
  62. Organization: SRI International, Menlo Park, CA
  63.  
  64.  
  65. At Init time I would Like to get the number of bit depths the main device
  66. can support and make a small Gworld for each of theses bit depths. Is there a 
  67. call that can tell me what the main device can support?
  68.  
  69.  
  70. Thanks,
  71.  
  72. Xavier
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79. -- 
  80. ___________________________________________________________
  81. Matthew Xavier Mora                       Matt_Mora@sri.com
  82. SRI International                       mxmora@unix.sri.com
  83. 333 Ravenswood Ave                    Menlo Park, CA. 94025
  84.  
  85. +++++++++++++++++++++++++++
  86.  
  87. >From chris-b@cs.auckland.ac.nz (Chris Burns)
  88. Date: Tue, 01 Nov 1994 21:44:39 +1200
  89. Organization: AucklandUniversity:ComputerScience:HMU
  90.  
  91. In article <393i5h$fc@unix.sri.com>, mxmora@unix.sri.com (Matt Mora) wrote:
  92.  
  93. > At Init time I would Like to get the number of bit depths the main device
  94. > can support and make a small Gworld for each of theses bit depths. Is there a 
  95. > call that can tell me what the main device can support?
  96.  
  97. Yep, it's a status call to the video (screen) driver.
  98.  
  99. Look in <Video.h>. You use the cscGetMode status call. I'll have to get
  100. back to you with some code (Pascal:), tho' "Designing Cards & Drivers" has
  101. it all well documented.
  102.  
  103. Chris B
  104. - ---------------------------------------------------------------------
  105. NewZealand:AucklandUniversity:ComputerScience:HyperMediaUnit:ChrisBurns
  106. Internet: chris-b@cs.auckland.ac.nz
  107. Phone:    +64 9 373-7599 x6194
  108. Fax:      +64 9 373-7453                         Async, therefore I am.
  109. - ---------------------------------------------------------------------
  110.  
  111. +++++++++++++++++++++++++++
  112.  
  113. >From eric.hegstrom@3do.com (Eric Hegstrom)
  114. Date: 1 Nov 1994 23:14:24 GMT
  115. Organization: 3DO Company
  116.  
  117. In article <chris-b-0111942144390001@hmu7.cs.aukuni.ac.nz>
  118. chris-b@cs.auckland.ac.nz (Chris Burns) writes:
  119.  
  120. > > At Init time I would Like to get the number of bit depths the main device
  121. > > can support and make a small Gworld for each of theses bit depths. Is there a 
  122. > > call that can tell me what the main device can support?
  123. > Yep, it's a status call to the video (screen) driver.
  124. > Look in <Video.h>. You use the cscGetMode status call. I'll have to get
  125.  
  126. Or you can do it by stepping through HasDepth with all the possible bit
  127. depths. (Dot overuse the HasDepth function because it has a small
  128. memory leak -- $2A bytes per call if I remember correctly).
  129.  
  130. for (bd=1; bd <= someBigNumber; bd *= 2 )
  131.     HasDepth( ..., bd, ...);
  132.  
  133. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  134. -=-=-
  135. This in no way represents the opinion of my employer
  136. -- or anyone at all for that matter.
  137.  
  138. Eric Hegstrom     eric.hegstrom@3do.com    -or-   theeric@aol.com    
  139.  
  140. A very bright programmer -- I'm wearing flourescent underware.
  141.  
  142. +++++++++++++++++++++++++++
  143.  
  144. >From arose@ATHENA.MIT.EDU (Alex Rosen)
  145. Date: 2 Nov 1994 21:35:25 GMT
  146. Organization: Massachusetts Institute of Technology
  147.  
  148. Use the HasDepth call, available with System Software 6.0.5 or
  149. thereabouts.  Check out Tech Note DV10.  (You can find it on
  150. ftp.apple.com).
  151.  
  152. --Alex
  153.  
  154.  
  155. ---------------------------
  156.  
  157. >From bemaa@celsiustech.se (Bengt M}nsson)
  158. Subject: MIDI programming
  159. Date: Tue, 1 Nov 1994 21:31:26 GMT
  160. Organization: CelsiusTech AB
  161.  
  162. Hi out there!
  163. Being both a hobby musician and a hobby programmer I would like to get hold
  164. of some information:
  165. a) The specification for MIDI files
  166. b) How to write applications for the Apple MIDI Manager (or do I have to go
  167.    through the troubles getting it from Apple?)
  168. c) How to write my own MIDI driver (if at all possible in Pascal)
  169. Are these issues covered in any document available via ftp?
  170.  
  171. Bengt M}nsson
  172.  
  173. +++++++++++++++++++++++++++
  174.  
  175. >From jbeeghly@u.washington.edu (Jeff Beeghly)
  176. Date: 1 Nov 1994 23:45:04 GMT
  177. Organization: University of Washington
  178.  
  179. >a) The specification for MIDI files
  180.  
  181. I can't help you out too much on this one, but I KNOW I have seen ftp 
  182. sites on the net which carry a description & breakdown of standard MIDI 
  183. file formats... I just don't know where...
  184.  
  185.  
  186. >b) How to write applications for the Apple MIDI Manager (or do I have to go
  187. >   through the troubles getting it from Apple?)
  188.  
  189. It's probably a best bet to purchase the MIDI developer guide from 
  190. Apple.  At $35, it's not TOO bad.  There is one example floating around 
  191. that might help you out... it's called QwertyTunes and is from someone at 
  192. Apple Developer Tech Support.  ftp to ftp.apple.com... it should be 
  193. somewhere there.  Other than that, I haven't seen any other examples.
  194.  
  195.  
  196. >c) How to write my own MIDI driver (if at all possible in Pascal)
  197. >Are these issues covered in any document available via ftp?
  198.  
  199.  
  200. Ummm..... I wouldn't do that....  Are you meaning you want to write 
  201. something that will replase the Apple MIDI Manager?  DON'T!!!
  202. Use the Apple MIDI Manager.  If it's not what you're looking for, check 
  203. out FREE MIDI (by Opcode, I think).  Unless you are planning on writing a 
  204. MIDI driver for your own use, and never plan on releasing any apps that 
  205. use your driver, it will be a waste of your time.
  206.  
  207.  
  208. Jeff
  209.  
  210.  
  211. ---------------------------
  212.  
  213. >From jbeeghly@u.washington.edu (Jeff Beeghly)
  214. Subject: Memory management in the Real World, part 2
  215. Date: 18 Oct 1994 16:46:56 GMT
  216. Organization: University of Washington
  217.  
  218.  
  219. I was speaking with one of my co-workers today about having to deal with
  220. handles, MoreMasters, etc... on the Mac.  I come from an ANSI-C
  221. background and am more comfortable with pointers.  I feel somewhat
  222. comfortable with handles, but there are lots of "Brick Walls" which I
  223. am encountering - like linked lists, and the fact that you need to
  224. pre-determine the maximum number of handles the app WILL EVER need at
  225. the beginning of the program.  He told me that Windows used to
  226. be like the Mac (he's a Windows programmer) in terms of memory management:
  227. everything needed to be done with handles (because the memory was being moved
  228. around) up until Windows 3.1.  In 3.1, Windows could be run in what's
  229. known as Protected Memory Mode.
  230.  
  231. In Protected Memory Mode, programmers didn't have to worry about handles
  232. - they could just use pointers.  Yes, memory is still being moved around
  233. to compact space, but in PMM, the HARDWARE is handling the memory management.
  234.  
  235. Programmers can just use pointers.  The pointer points to a location, and
  236. that location is being handled be the hardware (if I understand my friend
  237. correctly).  If the memory needs to be moved around, the hardware keeps track
  238. of everything and the programmer doesn't need to worry about it.
  239.  
  240. My friend (the Windows programmer) said that I should see if the Macs
  241. have anything like this.  Maybe not the 68000 macs but maybe the 68030 &
  242. 68040.  He said that the mac chips are really advanced and he would be
  243. surprised if they didn't have it (for a Windows programmer, he was very
  244. supportive of the Mac).
  245.  
  246. Now, I don't want to start any Windows vs Mac debates, I was just
  247. wondering if there is a Mac equivalent of Protected Memory Mode?
  248.  
  249.  
  250.  
  251. +++++++++++++++++++++++++++
  252.  
  253. >From mhl@icf.hrb.com (MARK H. LINTON)
  254. Date: 18 Oct 94 17:18:10 EST
  255. Organization: HRB Systems, Inc.
  256.  
  257. In article <381538$fsc@dartvax.dartmouth.edu>, Eric Kidd <emk@dartmouth.edu> writes:
  258. > In article <380u60$lmv@nntp1.u.washington.edu> Jeff Beeghly,
  259. > jbeeghly@u.washington.edu writes:
  260. >>I was speaking with one of my co-workers today about having to deal with
  261. >>handles, MoreMasters, etc... on the Mac.  I come from an ANSI-C
  262. >>background and am more comfortable with pointers.  I feel somewhat
  263. >>comfortable with handles, but there are lots of "Brick Walls" which I
  264. >>am encountering - like linked lists, and the fact that you need to
  265. >>pre-determine the maximum number of handles the app WILL EVER need at
  266. >>the beginning of the program.
  267. > [interesting idea re: Windows snipped]
  268. >
  269. > You don't need to worry about filling your master pointer blocks. New ones
  270. > will be automatically allocated by the Memory Manager if you declare more
  271. > handles than you had expected when you were making your MoreMasters calls.
  272. > There is a catch, however: these blocks are non-relocatable and will
  273. > fragment your heap if they are not allocated at one end or the other. To
  274. > avoid this, Mac programs try to guess a "normal maximum # of handles" at
  275. > initialization time. This is what you are dealing with, not an absolute
  276. > limit.
  277.  
  278.         Eric (and Jeff, hello again ;^),
  279.  
  280.         Maybe the mystery surrounding the Handle in the Macintosh world
  281.         is really the puzzler. Easy way around it? Use NewPtr instead of
  282.         NewHandle. If all you are trying to do is make a linked list,
  283.         there is no need to muddy the water with a Handle based
  284.         solution. Now if you are using a ToolBox call (that was designed
  285.         to run on a machine that had 128k of RAM) then you may have to
  286.         use a handle, but you are not required to use them in your own
  287.         data types.
  288.  
  289.         As far as nifty ways to control memory, you really have to get
  290.         Inside Macintosh: Memory. What are you missing if you don't?
  291.  
  292.         o Multiple heaps/heap zones
  293.         o Temporary Memory - allows you to (temporarily) access more
  294.           memory than your program is allocated
  295.         o More complete functions for assessing memory conditions:
  296.           - FreeMem/FreeMemSys
  297.           - MaxBlock/MaxBlockSys
  298.           - PurgeSpace
  299.           - StackSpace
  300.         o More complese functions for freeing memory
  301.           - CompactMem/CompactMemSys - compacts (system) heap
  302.           - PurgeMem/PurgeMemSys - purges (system) heap
  303.           - MaxMem/MaxMemSys - compacts and purges (system) heap
  304.         o Virtual Memory
  305.  
  306.         Jeff said he didn't want to start a Mac/Windows flame war, so I
  307.         won't say what I think of extended memory.
  308.  
  309. -- 
  310. Hope this helps.
  311.  
  312. Mark H. Linton
  313. ____________________________________________________________________
  314. mark \'m‰rk\ n [ME, fr. OE mearc boundary, march, sign; akin to OHG
  315. marha boundary, L margo] 1 a : a conspicuous object serving as a guide
  316. for travelers 2 : A standard or criterion of quality 3 : An object or
  317. point that serves as a guide --idiom. mark time. 1 : To make little or
  318. no progress
  319.  
  320. +++++++++++++++++++++++++++
  321.  
  322. >From kevin@dgs.dgsys.com (Kevin Vail)
  323. Date: Tue, 18 Oct 1994 18:10:19 -0400
  324. Organization: Vailhalla
  325.  
  326. In article <380u60$lmv@nntp1.u.washington.edu>, jbeeghly@u.washington.edu
  327. (Jeff Beeghly) wrote:
  328.  
  329. >I was speaking with one of my co-workers today about having to deal with
  330. >handles, MoreMasters, etc... on the Mac.  I come from an ANSI-C
  331. >background and am more comfortable with pointers.  I feel somewhat
  332. >comfortable with handles, but there are lots of "Brick Walls" which I
  333. >am encountering - like linked lists, and the fact that you need to
  334. >pre-determine the maximum number of handles the app WILL EVER need at
  335. >the beginning of the program.  He told me that Windows used to
  336. >be like the Mac (he's a Windows programmer) in terms of memory management:
  337. >everything needed to be done with handles (because the memory was being moved
  338. >around) up until Windows 3.1.  In 3.1, Windows could be run in what's
  339. >known as Protected Memory Mode.
  340. >In Protected Memory Mode, programmers didn't have to worry about handles
  341. >- they could just use pointers.  Yes, memory is still being moved around
  342. >to compact space, but in PMM, the HARDWARE is handling the memory management.
  343.  
  344. That's because the underlying hardware (80386 or higher) uses two items to
  345. locate any piece of data: a SELECTOR (or "segment") and an OFFSET into the
  346. segment.  The selector is two bytes, the offset can be two or four.  This
  347. has always been how memory is accessed on the 80*86 chips, but in
  348. non-protected mode the selector part is called the "segment" and indicates
  349. a physical memory segment address (a segment can begin at any
  350. divisible-by-16 memory address).  You take the segment and shift it four
  351. bits to the left and add in the offset.  This gives you a 20-bit (up to 1
  352. megabyte) address.
  353.  
  354. In protected mode, however, the selector bears no relation to the physical
  355. memory address except that the hardware uses it as an index into a table
  356. of physical addresses.  It takes the beginning of the segment address and
  357. adds the offset to that to give the actual memory address.  In protected
  358. mode, there is a 4 gigabyte (32-bit) address space.  Since the actual
  359. physical address is only stored in the table that the selector indexes
  360. into, the operating system (i.e., Windows) can move the physical location
  361. around; the program still uses the same selector to access it.
  362.  
  363. This is not possible on the Mac because the Motorola 680*0 chips use a
  364. linear address space with none of this segment/selector garbage.  Windows
  365. has always used a selector-plus-offset memory model (they refer to the
  366. segment part as a "handle"); it used to be that you had to make a Windows
  367. call to find the *real* memory address, but now it's the same, because of
  368. the way selectors work in protected mode.  It has a few advantages in
  369. special-purpose cases like Windows memory allocation, but in general it's
  370. *much* easier to define and use a linear address space.
  371.  
  372. [snip]
  373.  
  374. >Now, I don't want to start any Windows vs Mac debates, I was just
  375. >wondering if there is a Mac equivalent of Protected Memory Mode?
  376.  
  377. The short answer is No, not in the sense you're talking about.  (The MMU
  378. in the 68030 and 68040 is capable of setting up protected memory regions,
  379. but this isn't used in the MacOS.)
  380.  
  381. However, here's a thought, and maybe this is what Apple is doing in
  382. Copland-- wouldn't it be possible to set up the memory so that each
  383. program had its own address space, with the system heap somehow shared?  I
  384. don't know what you could do with low-memory globals (perhaps set them up
  385. so each program had its own copy, or make them read-only so that writes
  386. cause a trap so that changes to the low-memory stuff could be tracked by
  387. the OS) and I know there's other stuff, but this would provide memory
  388. protection between tasks and give every program a heap the size of the
  389. address space; no more trying to guess partition sizes.  You'd still have
  390. to dereference handles, though...
  391. -- 
  392. Kevin Michael Vail  | "This is so cool I have to go to the bathroom!"
  393. kevin@dgs.dgsys.com |                   -- Calvin
  394.  
  395. +++++++++++++++++++++++++++
  396.  
  397. >From h+@nada.kth.se (Jon W{tte)
  398. Date: Wed, 19 Oct 1994 08:31:31 +0100
  399. Organization: Royal Institute of Something or other
  400.  
  401. In article <380u60$lmv@nntp1.u.washington.edu>,
  402. jbeeghly@u.washington.edu (Jeff Beeghly) wrote:
  403.  
  404. >comfortable with handles, but there are lots of "Brick Walls" which I
  405. >am encountering - like linked lists, and the fact that you need to
  406.  
  407. Linked lists with handles is just as easy as with pointers. 
  408. Just remember to store the HANDLE, not the de-referenced pointer.
  409.  
  410. >pre-determine the maximum number of handles the app WILL EVER need at
  411. >the beginning of the program.  He told me that Windows used to
  412.  
  413. Uh? You should make a good guess, if you're really interested 
  414. in efficiency. You can just leave it be, in which case the 
  415. system will allocate onrelocatable master pointer blocks in 
  416. your heap when needed - depending on how you code, these 
  417. allocations may or may not cause memory fragmentation. Mostly 
  418. they don't.
  419.  
  420. >In Protected Memory Mode, programmers didn't have to worry about handles
  421. >- they could just use pointers.  Yes, memory is still being moved around
  422. >to compact space, but in PMM, the HARDWARE is handling the memory management.
  423.  
  424. You can use pointers to your hearts content in the Mac as well. 
  425. Yes; there may be fragmentation, but that's the case for 
  426. Windows as well (it just masks the fact) Indeed, fragmenting VM 
  427. tables is in many cases just as bad as fragmenting "real" memory.
  428.  
  429. Windows handles are NOT the same as Mac handles; Windows memory 
  430. isn't like Mac memory at all because of their painful segmented 
  431. architecture. Just go ahead and use malloc()! For as much 
  432. memory as you want! And don't worry about pointer arithmetics; 
  433. unlike Windows 3.1, it'll always work.
  434.  
  435. Cheers,
  436.  
  437.                 / h+
  438.  
  439.  
  440.  
  441. --
  442.   Jon W‰tte (h+@nada.kth.se), Hagagatan 1, 113 48 Stockholm, Sweden
  443.  
  444. "I like to do very very late binding. åJust in timeπ binding."
  445.     ã Dave Feldt
  446.  
  447.  
  448. +++++++++++++++++++++++++++
  449.  
  450. >From bw16@cornell.edu (Bretton Wade)
  451. Date: Wed, 19 Oct 1994 08:35:10 -0400
  452. Organization: Cornell Program of Computer Graphics
  453.  
  454. In article <AACA89E396681EA7F8@klkmac019.nada.kth.se>, h+@nada.kth.se (Jon
  455. W{tte) wrote:
  456.  
  457. > Windows handles are NOT the same as Mac handles; Windows memory 
  458. > isn't like Mac memory at all because of their painful segmented 
  459. > architecture. Just go ahead and use malloc()! For as much 
  460. > memory as you want! And don't worry about pointer arithmetics; 
  461. > unlike Windows 3.1, it'll always work.
  462.  
  463. It's been a while since I was coding in MS Windows. Do they still have
  464. that silly global limit on the number of handles? It was ridiculously low,
  465. like 64 or something...
  466.  
  467. ______________________________________________________________
  468.    Bretton Wade (bw16@cornell.edu)
  469.    http://www.graphics.cornell.edu/~bwade/
  470. ______________________________________________________________
  471.  
  472. +++++++++++++++++++++++++++
  473.  
  474. >From nick@sw.stratus.com (Nicolas Tamburri)
  475. Date: 19 Oct 1994 14:44:59 GMT
  476. Organization: Stratus Computer, Inc.
  477.  
  478. In article <kevin-1810941810190001@vailbox.dgsys.com>, kevin@dgs.dgsys.com (Kevin Vail) writes:
  479. > However, here's a thought, and maybe this is what Apple is doing in
  480. > Copland-- wouldn't it be possible to set up the memory so that each
  481. > program had its own address space, with the system heap somehow shared?  I
  482. > don't know what you could do with low-memory globals (perhaps set them up
  483. > so each program had its own copy, or make them read-only so that writes
  484. > cause a trap so that changes to the low-memory stuff could be tracked by
  485. > the OS) and I know there's other stuff, but this would provide memory
  486. > protection between tasks and give every program a heap the size of the
  487. > address space; no more trying to guess partition sizes.
  488.  
  489. I hope this is what they are doing, since this was old technology 20
  490. years ago.
  491.  
  492. I assume that the reason it has not been done yet is because of low
  493. memory globals and compatibility with older programs.  The way other
  494. vendors have solved this problem (and related memory sharing problems,)
  495. is 4 fold:
  496.  
  497. 1. You publish a decree that says "Henceforth storing directly into
  498.    low-memory globals is considered to be a bad programming practice,
  499.    and we are providing you with this/these OS calls for modifying
  500.    those globals."
  501.  
  502. 2. If you need to set up shared memory between processes, you must use
  503.    these OS calls, i.e. don't assume that the same numeric address
  504.    actually refers to the same physical memory location.
  505.  
  506. 3. Each process on the system gets its own address space, as you state.
  507.    The low-memory addresses are set up so that reads and writes to them
  508.    actually trap to the OS, which takes apart the instruction and stuffs
  509.    the global data into the process space, (or vice-versa.)  For most
  510.    globals, this is sufficient, for some, a global can only be used by
  511.    one process at a time, and if pre-emptive multi-processing is used,
  512.    the calling process may actually block until valid data becomes
  513.    available.
  514.  
  515.    This extra processing is much less efficient than accessing globals
  516.    directly, and thus becomes the incentive to not use them.  But, it
  517.    does provide compatability for older programs that may never be
  518.    updated, even though they may run slower.
  519.  
  520. 4. Spend a bunch of time shaking out the incompatabilities, since what
  521.    I've described is greatly simplified.  (On the other hand, it's not
  522.    like I can run every program I've ever bought on my Q650, so maybe
  523.    they won't worry too much about this last part.)
  524.  
  525. Anxiously awaiting Copeland and Gershwin...
  526.  
  527.                             /nt
  528.  
  529.    
  530.  
  531. +++++++++++++++++++++++++++
  532.  
  533. >From Jens Alfke <jens_alfke@powertalk.apple.com>
  534. Date: Wed, 19 Oct 1994 18:03:45 GMT
  535. Organization: Apple Computer
  536.  
  537. MARK H. LINTON, mhl@icf.hrb.com writes:
  538. >         Maybe the mystery surrounding the Handle in the Macintosh world
  539. >         is really the puzzler. Easy way around it? Use NewPtr instead of
  540. >         NewHandle.
  541.  
  542. Not if you're worried about performance; NewPtr is really slow. A better idea
  543. is to use the malloc/free routines in your development system's ANSI library.
  544. Generally (at least in THINK and CW) these allocate large blocks via NewPtr
  545. and then sub-allocate them, which is a lot more efficient than using the Mac
  546. memory manager straight. The drawback is that these blocks are not disposed
  547. back to the Mac heap, so you have to make sure that malloc doesn't eat up too
  548. much of your memory (you need enough free to keep the Toolbox happy.)
  549.  
  550. --Jens Alfke                           jens_alfke@powertalk.apple.com
  551.                    "A man, a plan, a yam, a can of Spam ... Bananama!"
  552.  
  553. +++++++++++++++++++++++++++
  554.  
  555. >From Lloyd Sargent <canna@bga.com>
  556. Date: 21 Oct 1994 15:04:39 GMT
  557. Organization: Canna Software Development
  558.  
  559. Re: Memory management in the Real World, part 2
  560.  
  561. Don't get me started on that "feature" of Windoze. Yes, it is true,
  562. Virginia, they do move pointers around without handles.  But it is
  563. at a cost -- you have to follow some rules about how your data is
  564. formated (i.e. you can't have words on 64K boundaries and a host of
  565. others that I soon as well forget).  It is better?  Depends on your
  566. point of view.  When coding, handles don't slow me down. They are
  567. just another data structure.  True, it slows the system down moving
  568. the handles (and their data) around, but it is just as ugly on the
  569. Windoze side.
  570.  
  571. I have to admit, that one feature of Windoze saved my butt (we had
  572. to build a 2 mb structure in order to get the speed required for
  573. a customer - if we had used Windoze handles it would have meant re-
  574. writing large chunks of s/w in a couple of days.
  575.  
  576. It really boils down to methodology. And that is about a touchy
  577. subject as religion and politics!
  578.  
  579. Cheerio,
  580.  
  581. Lloyd
  582.  
  583. - --------------------------------------------------------------------
  584. Lloyd Sargent              | "{The mice} are merely the protrusions into
  585. Canna Software Development | our dimension of vast hyper-intelligent pan-
  586. Del Valle, Texas           | dimensional beings, thw whole business with
  587. Infobahn: canna@bga.com    | cheese and squeaking is just a front"
  588. AppleLink: CANNA.SW.DEV    |            Hitchhikers Guide To The Galaxy
  589. Voice: 512.243.0283        | "nam et ipsa scientia potestas est"
  590.        512.243.3355        | {for knowledge too is itself power}
  591.  "Been there, done that."  |            Francis Bacon
  592.  
  593. +++++++++++++++++++++++++++
  594.  
  595. >From Glenn L. Austin <glenn_a@efn.org>
  596. Date: Fri, 21 Oct 1994 18:39:15 GMT
  597. Organization: Eugene FreeNet
  598.  
  599. In article <1994Oct19.180345.10342@gallant.apple.com> Jens Alfke,
  600. jens_alfke@powertalk.apple.com writes:
  601. >Not if you're worried about performance; NewPtr is really slow. A better
  602. idea
  603. >is to use the malloc/free routines in your development system's ANSI
  604. library.
  605. >Generally (at least in THINK and CW) these allocate large blocks via
  606. NewPtr
  607. >and then sub-allocate them, which is a lot more efficient than using the
  608. Mac
  609. >memory manager straight. The drawback is that these blocks are not
  610. disposed
  611. >back to the Mac heap, so you have to make sure that malloc doesn't eat
  612. up too
  613. >much of your memory (you need enough free to keep the Toolbox happy.)
  614.  
  615. DON'T USE malloc/free!!!  Although they do sub-allocate, they still call
  616. NewPtr, and if you think you'll get better performance calling something
  617. that calls NewPtr, you need to check your logic circuits.
  618.  
  619. Use NewPtr and DisposPtr, or better yet, design your own
  620. malloc/realloc/free using locked, dereferenced handles.  This way you can
  621. control your memory usage and still have the resizable objects that true
  622. pointers don't provide (there is a SetPtrSize, but that's a crash waiting
  623. to happen, since it doesn't work exactly like realloc but attempts to
  624. resize the memory block in place, while SetHandleSize is allowed to move
  625. the unlocked block of memory to satisfy the request).
  626.  
  627. The only time to use true malloc/free is under Windows, since that
  628. brain-dead operating system only allows for 8192 total global handles,
  629. and the only way to handle large amounts of data is to use the dev.
  630. environment's large model (or huge model) and let it allocate and
  631. suballocate memory for you.
  632. //
  633. // Glenn L. Austin
  634. // Computer Wizard and Racing Car Driver
  635. // Internet:  glenn_a@efn.org
  636. //
  637.  
  638. +++++++++++++++++++++++++++
  639.  
  640. >From nagle@netcom.com (John Nagle)
  641. Date: Sun, 23 Oct 1994 16:51:17 GMT
  642. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  643.  
  644. chopps@water.emich.edu (Christian E. Hopps) writes:
  645. >An MMU is not setup to handle application based resizing mostly.
  646.  
  647. >I'me not sure if you've had experiance with MMU's before or not.  However
  648. >MMU's do not map just any logical address to just any physical one (in 
  649. >most cases.)  The 680x0 MMU's and the PPC MMU's map pages (4k or 8k mostly).
  650.  
  651.      Interestingly, Intel 386 machines and up have MMUs that are designed to
  652. manage lots of segments, with sizes ranging from a few bytes to many 
  653. megabytes.  The bounds of the segment are expressed in bytes, not pages,
  654. until the segment gets really big, and then it has to be rounded up to the
  655. next chunk (512 bytes?).
  656.  
  657.      Because DOS/Windows doesn't fully use these capabilities, they aren't
  658. well known.  But the CPU architecture is almost ideal for a system with lots
  659. of little protected objects.  The PenPoint prototype used it quite
  660. successfully, before AT&T bought it and made them switch to another CPU.
  661.  
  662.                     John Nagle
  663.  
  664. +++++++++++++++++++++++++++
  665.  
  666. >From devon_hubbard@taligent.com (Devon Hubbard)
  667. Date: Tue, 18 Oct 1994 21:21:15 GMT
  668. Organization: Taligent, Inc.
  669.  
  670. In article <380u60$lmv@nntp1.u.washington.edu>, jbeeghly@u.washington.edu
  671. (Jeff Beeghly) wrote:
  672.  
  673. >Now, I don't want to start any Windows vs Mac debates, I was just
  674. >wondering if there is a Mac equivalent of Protected Memory Mode?
  675.  
  676. Not currently, no.  :-]
  677.  
  678. dEVoN
  679.  
  680. - -----------------------------------------------------------------------
  681. Devon Hubbard                                               Silicon Pilot
  682. devon_hubbard@taligent.com                                  Taligent, Inc
  683.  
  684. +++++++++++++++++++++++++++
  685.  
  686. >From lsr@taligent.com (Larry Rosenstein)
  687. Date: Wed, 19 Oct 1994 01:20:02 GMT
  688. Organization: Taligent, Inc.
  689.  
  690. In article <1994Oct18.171810.22120@hrbicf>, mhl@icf.hrb.com (MARK H.
  691. LINTON) wrote:
  692.  
  693. >         is really the puzzler. Easy way around it? Use NewPtr instead of
  694. >         NewHandle. If all you are trying to do is make a linked list,
  695.  
  696. NewPtr is very slow because it tries to place the pointer as low in the
  697. heap as possible.  You may be better doing NewHandle and immediatly
  698. locking the handle.
  699.  
  700. -- 
  701. Larry Rosenstein
  702. Taligent, Inc.
  703.  
  704. lsr@taligent.com
  705.  
  706. +++++++++++++++++++++++++++
  707.  
  708. >From Rick_Holzgrafe@taligent.com (Rick Holzgrafe)
  709. Date: Wed, 19 Oct 1994 03:21:41 GMT
  710. Organization: Semicolon Software
  711.  
  712. In article <380u60$lmv@nntp1.u.washington.edu>, jbeeghly@u.washington.edu
  713. (Jeff Beeghly) wrote:
  714.  
  715. > the fact that you need to
  716. > pre-determine the maximum number of handles the app WILL EVER need at
  717. > the beginning of the program.
  718.  
  719. Well, you don't *need* to. The Mac will allocate more master pointer
  720. blocks for you as and when needed. But you do *want* to, because master
  721. pointer blocks are themselves locked. The system will spend time trying to
  722. move unlocked handles around in order to place the master pointer block
  723. near one end of your heap, to avoid fragmentation; and if it can't manage
  724. it, then you get fragmentation anyway.
  725.  
  726. -- Rick Holzgrafe, a member of the Taligentsia
  727.    Rick_Holzgrafe@taligent.com
  728.    rmh@taligent.com
  729.  
  730. +++++++++++++++++++++++++++
  731.  
  732. >From edevinney@aol.com (EDevinney)
  733. Date: 24 Oct 1994 16:11:04 -0400
  734. Organization: America Online, Inc. (1-800-827-6364)
  735.  
  736. In article <nagleCy4xHH.KCM@netcom.com>, nagle@netcom.com (John Nagle)
  737. writes:
  738. >>>
  739.  Interestingly, Intel 386 machines and up have MMUs that are designed to
  740. manage lots of segments, with sizes ranging from a few bytes to many 
  741. megabytes.  The bounds of the segment are expressed in bytes, not pages,
  742. until the segment gets really big, and then it has to be rounded up to the
  743. next chunk (512 bytes?).
  744.  
  745.      Because DOS/Windows doesn't fully use these capabilities, they aren't
  746. well known.  But the CPU architecture is almost ideal for a system with
  747. lots
  748. of little protected objects.  The PenPoint prototype used it quite
  749. successfully, before AT&T bought it and made them switch to another CPU.
  750. <<<
  751.  
  752. The PenPoint memory manager used 4k pages throughout.  One could create
  753. new heaps for variable-sized data, and that was nice, but those also used
  754. 4k pages - you wouldn't use a heap like a handle if you gave any thought
  755. about overhead.  It would be nice to use the MMU to get a protected,
  756. never-fragmenting soup of variable-sized objects, but PenPoint didn't have
  757. it.
  758.  
  759. Regardless, PenPoint did show me that while VM is nice, it is by no means
  760. the panacea that handle-opponents often make it out to be.  Real RAM does
  761. eventually run out, and it runs out quick on small (ie commonplace)
  762. machines.  Performance takes a big hit when thrashing, and users find that
  763. unacceptable, and it can kill battery life on mobile machines.  Like
  764. handles, VM should be used with care and a full understanding of the costs
  765. involved.
  766.  
  767. regards -
  768.  
  769. ed devinney (GO & EO alumnus)
  770.  
  771.  
  772.  
  773. +++++++++++++++++++++++++++
  774.  
  775. >From Peter_Gontier@novell.com (Pete Gontier)
  776. Date: Mon, 24 Oct 1994 19:30:56 -0800
  777. Organization: Novell, Inc., Walnut Creek Macintosh Site
  778.  
  779. In article <bw16-1910940835100001@frost.graphics.cornell.edu>,
  780. bw16@cornell.edu (Bretton Wade) wrote:
  781.  
  782. >> It's been a while since I was coding in MS Windows. Do they still have
  783. > that silly global limit on the number of handles? It was ridiculously low,
  784. > like 64 or something...
  785.  
  786. 8192. Yes, ridiculously low, if you use those blocks for general managment
  787. and don't break them up internally to your program. I believe their 32-bit
  788. environments lift the restriction, though.
  789.  
  790. -- 
  791.  Views expressed here do not necessarily reflect the views of Novell.
  792.  
  793. +++++++++++++++++++++++++++
  794.  
  795. >From Peter_Gontier@novell.com (Pete Gontier)
  796. Date: Mon, 24 Oct 1994 19:34:53 -0800
  797. Organization: Novell, Inc., Walnut Creek Macintosh Site
  798.  
  799. In article <Cy1D5G.71z@efn.org>, Glenn L. Austin <glenn_a@efn.org> wrote:
  800.  
  801. > DON'T USE malloc/free!!!  Although they do sub-allocate, they still call
  802. > NewPtr, and if you think you'll get better performance calling something
  803. > that calls NewPtr, you need to check your logic circuits.
  804.  
  805. Do some benchmarking, Glenn. They really are faster. They call NewPtr only
  806. for blocks above a certain size and when a block which has been
  807. sub-allocated fills up.
  808.  
  809. -- 
  810.  Views expressed here do not necessarily reflect the views of Novell.
  811.  
  812. +++++++++++++++++++++++++++
  813.  
  814. >From tnelson@fluorite.telesciences.com (Tracy M Nelson)
  815. Date: 25 Oct 1994 17:04:19 GMT
  816. Organization: Securicor Telesciences Inc
  817.  
  818. John Nagle (nagle@netcom.com) wrote:
  819. :      Interestingly, Intel 386 machines and up have MMUs that are designed to
  820. : manage lots of segments, with sizes ranging from a few bytes to many 
  821.  
  822. Not surprising, since they copied many of the design elements of the iAPX432
  823. processor, which relied on the concept of "capabilities" (a sort of an
  824. address + access permission structure, which maps nicely into a two-register
  825. data access scheme) to manage their objects.  I don't know anything about the 
  826. specifics of the '386 MMU, but it's possible that, given a proper 
  827. object-oriented OS and development environment, the x86 architecture could be 
  828. handy after all...
  829.  
  830. --
  831. Tracy Nelson (tnelson@telesciences.com)
  832. // WARNING: May contain code which is too intense for young programmers...
  833.  
  834. +++++++++++++++++++++++++++
  835.  
  836. >From ajbarry@ozemail.com.au (Andrew Barry)
  837. Date: Thu, 27 Oct 1994 08:33:20 GMT
  838. Organization: OzEmail Pty Ltd Sydney Australia
  839.  
  840. Tracy M Nelson (tnelson@fluorite.telesciences.com) wrote:
  841. : John Nagle (nagle@netcom.com) wrote:
  842. : : Interestingly, Intel 386 machines and up have MMUs that are designed to
  843. : : manage lots of segments, with sizes ranging from a few bytes to many 
  844.  
  845. : Not surprising, since they copied many of the design elements of the 
  846. : iAPX432 processor, which relied on the concept of "capabilities" 
  847. : (a sort of an address + access permission structure, which maps
  848. : nicely into a two-register data access scheme) to manage their 
  849. : objects.  I don't know anything about the 
  850. : specifics of the '386 MMU, but it's possible that, given a proper 
  851. : object-oriented OS and development environment, the x86
  852. : architecture could be handy after all...
  853.  
  854. Hmmm...the main problem with the 386 MMU (at least as far as selectors 
  855. go), is that there are only 8192 selectors available in each of the local 
  856. and global descriptor tables. Unfortunately, this would mean a maximum of 
  857. 8192 objects per process (or in the case of Windows, 8192 handles in use 
  858. across the entire system).
  859.  
  860. Just as some further information, 386 handles have a granularity of 16 
  861. bytes, unless you want to address memory beyond 16Mb, at which point the 
  862. granularity goes up to 4k.
  863.  
  864. Also note that Microsoft is ditching the use of selectors as handles in 
  865. Chicago and NT, where they're using a flat address space.
  866.  
  867. Just a bit of input...personally I don't think the 386 architecture
  868. can be useful.
  869. Andrew
  870.  
  871. +++++++++++++++++++++++++++
  872.  
  873. >From philip@cs.wits.ac.za (Philip Machanick)
  874. Date: 28 Oct 1994 07:35:59 GMT
  875. Organization: Computer Science Dept, U of Witwatersrand
  876.  
  877. In article <Cy8oAD.Dzw@teleride.on.ca>, stevew@teleride.on.ca (Stephen M.
  878. Webb) wrote:
  879. > Virtual memory became possible only with the 68020, which was not in
  880.  
  881. Wasn't it the 68010 that added VM support? Some managed to find complex
  882. hardware workarounds, like  second processor to handle page faults.
  883.  
  884. > production at the time the Mac was released.  Handles were required to
  885. > support a pseudo-virtual memory scheme under which regions of memory
  886. > could be relocated during a system call if necessary, and without
  887. > notice, at run time.  Such a scheme does not require restartable instructions.
  888.  
  889. I don't think this is sufficient reason to introduce handles. Other
  890. systems had things like overlays (clumsy but easier to program). I think
  891. the real reason for overlays was system calls and user program were
  892. allocating sometimes short-lived data (e.g. for menus) in the same small
  893. heap. With so little RAM to play with a conventional memory manager would
  894. have had problems coping. Things like puregeable resources help, but could
  895. work without handles if there is enough free RAM to run a conventional
  896. memory manager (with free list, coalescing adjacent blocks etc.).
  897.  
  898. The Lisa - which initially was sold with much more RAM than a Mac - had a
  899. more sophisticated memory management scheme. Does anyone know details?
  900. -- 
  901. Philip Machanick                   philip@cs.wits.ac.za
  902. Department of Computer Science, University of the Witwatersrand
  903. 2050 Wits, South Africa        (at University of Cape Town 4 July-7 Nov)
  904. phone 27(11)716-3309  fax 27(11)339-7965
  905.  
  906. +++++++++++++++++++++++++++
  907.  
  908. >From pcastine@prz.tu-berlin.de (Peter Castine)
  909. Date: Fri, 28 Oct 1994 12:13:55 GMT
  910. Organization: Process Control Center
  911.  
  912. In article <Cy8oAD.Dzw@teleride.on.ca>, (Stephen M.
  913. Webb) wrote:
  914. > > Virtual memory became possible only with the 68020, which was not in
  915. > > production at the time the Mac was released.  
  916.  
  917. In response, in article <philip-2810940935360001@mackerel.cs.uct.ac.za>,
  918. philip@cs.wits.ac.za (Philip Machanick) wrote:
  919. > The Lisa - which initially was sold with much more RAM than a Mac - had a
  920. > more sophisticated memory management scheme. Does anyone know details?
  921.  
  922. Lisa had a PMMU and (I'm 99% sure of this) memory protection. I'm not sure
  923. about virtual memory (the first Lisas were diskette-based, but later
  924. models had external hard disks).
  925.  
  926.  
  927. Philip also said:
  928. > I don't think this is sufficient reason to introduce handles. Other
  929. > systems had things like overlays (clumsy but easier to program). I think
  930. > the real reason for overlays was system calls and user program were
  931. > allocating sometimes short-lived data (e.g. for menus) in the same small
  932. > heap. With so little RAM to play with a conventional memory manager would
  933. > have had problems coping. Things like puregeable resources help, but could
  934. > work without handles if there is enough free RAM to run a conventional
  935. > memory manager (with free list, coalescing adjacent blocks etc.).
  936.  
  937. Menus should never be purgeable. But windows (particularly Dialogs and
  938. Alerts) come and go and chew up memory. Ditto for fonts. 
  939.  
  940. Overlays *are* clumsy, require a lot of attention on the part of the
  941. applications programmer (IMO, more work than the occaisional
  942. _HLock/_HUnlock call), and are usually used for swapping sections of
  943. program code (and, hence, don't help with memory requirements of windows,
  944. etc.).
  945.  
  946. -- 
  947. Peter Castine               | Useful approximations:
  948. pcastine@prz.tu-berlin.de   |  Pi seconds is a nanocentury.
  949. Process Control Center      |  Electricity travels a foot per nanosecond.
  950. Technical University Berlin |  One ostrich egg will feed 24 people for brunch.
  951.  
  952. +++++++++++++++++++++++++++
  953.  
  954. >From fixer@faxcsl.dcrt.nih.gov (Chris Driving in the Rain Tate)
  955. Date: Fri, 28 Oct 1994 12:54:47 GMT
  956. Organization: DCRT, NIH, Bethesda, MD
  957.  
  958. In article <philip-2810940935360001@mackerel.cs.uct.ac.za>, philip@cs.wits.ac.za (Philip Machanick) writes:
  959. >In article <Cy8oAD.Dzw@teleride.on.ca>, stevew@teleride.on.ca (Stephen M.
  960. >Webb) wrote:
  961. >> Virtual memory became possible only with the 68020, which was not in
  962. >> production at the time the Mac was released.  Handles were required to
  963. >> support a pseudo-virtual memory scheme under which regions of memory
  964. >> could be relocated during a system call if necessary, and without
  965. >> notice, at run time.  Such a scheme does not require restartable
  966. >> instructions.
  967. >
  968. >I don't think this is sufficient reason to introduce handles. Other
  969. >systems had things like overlays (clumsy but easier to program). I think
  970. >the real reason for overlays was system calls and user program were
  971. >allocating sometimes short-lived data (e.g. for menus) in the same small
  972. >heap. With so little RAM to play with a conventional memory manager would
  973. >have had problems coping. Things like puregeable resources help, but could
  974. >work without handles if there is enough free RAM to run a conventional
  975. >memory manager (with free list, coalescing adjacent blocks etc.).
  976.  
  977. Overlays are only for code, most times.  The CODE segment structure of
  978. the Mac's runtime environment is far superior, IMHO.  What people are
  979. talking about here is using the PMMU to move stuff around in physical
  980. memory without changing its logical addressing, transparently to the
  981. application.
  982.  
  983. Basically, the reason the Mac doesn't do this is that the MC68000 doesn't
  984. have any hardware memory-management; handles were a way to give the OS
  985. *some* way of making room for new allocations in a fragmented heap.
  986.  
  987. >The Lisa - which initially was sold with much more RAM than a Mac - had a
  988. >more sophisticated memory management scheme. Does anyone know details?
  989.  
  990. The Lisa was an amazingly advanced machine for its day.  It *did* have
  991. hardware memory management, and preemptive multitasking.  It achieved this
  992. through custom hardware to supplement the 68000 (which, as I said, didn't
  993. offer any of this functionality itself).  This is part of what made the
  994. Lisa so expensive, unfortunately; it was too much technology for the niche
  995. it needed to occupy.
  996.  
  997. - ------------------------------------------------------------------
  998. Christopher T{te           | "I never thought of surgery as 'editing
  999. fixer@faxcsl.dcrt.nih.gov  |  a person' before...."
  1000. eWorld:  cTate             |        -- Mark Linton (mhl@icf.hrb.com)
  1001.  
  1002. +++++++++++++++++++++++++++
  1003.  
  1004. >From "Donald T. Major" <sasdtm@unx.sas.com>
  1005. Date: Fri, 28 Oct 1994 15:11:05 GMT
  1006. Organization: SAS Institute Inc.
  1007.  
  1008. Handles, and the Lisa memory management, etc., all came from the
  1009. work achieved with Smalltalk-80. Handles are a direct descendant of
  1010. the object table of Smalltalk, just implemented in a more flexible
  1011. manner. Sure, in Smalltalk object references were offsets in the
  1012. object table, and the only "real" pointers the system used were the
  1013. result of resolving such a reference, but the basic idea was there (it
  1014. may even be older than that--I honestly don't know). The really neat
  1015. part about the Smalltalk model, though, was that it allowed for a very
  1016. flexible virtual memory scheme, where disk I/O was even more of a
  1017. major system expense than it is today. LOOM and another similar scheme,
  1018. the name of which escapes me at the moment, were virtual memory systems
  1019. implemented for Smalltalk, to allow moving only the minimum amount of
  1020. data to and from disk as necessary. Implemented entirely in software,
  1021. they could make use of ridiculously small chunks of memory (since most
  1022. objects were ridiculously small) to load an object from disk, while
  1023. keeping as many current system objects loaded as possible, and cutting
  1024. back on the total amount of RAM lost to pad bytes. Since RAM in the
  1025. original Smalltalk-80 implementation couldn't exceed 2 meg, this was
  1026. a very desirable goal.
  1027.  
  1028. This flexibility is why handles were used in the Mac from day one (and
  1029. I believe in the Lisa, though I can't swear to it)--the original Mac
  1030. only had 128k of ram, of which only about 80k was available to
  1031. applications; even the Finder was an application which was just run
  1032. when no other applications were loaded. The virtual memory scheme was
  1033. also adapted, though only for loading stuff in, not writing data back
  1034. out (CODE resources, MDEFs, etc., are all based on this scheme). It's
  1035. true that the original reasons for handles are gone, but that doesn't
  1036. mean that their usefulness is; I personally rarely find using handles
  1037. that much of a hassle, while heap fragmentation can be very irritating,
  1038. and often means I need more RAM for my heap.
  1039.  
  1040. *Maybe* when we finally get virtual addressing I'll feel differently
  1041. (note, this is NOT virtual memory), but for now, I like the Handle.
  1042.  
  1043. +++++++++++++++++++++++++++
  1044.  
  1045. >From Jonathan Gary <jgary@ssd.kodak.com>
  1046. Date: Thu, 3 Nov 1994 17:55:02 GMT
  1047. Organization: Eastman Kodak
  1048.  
  1049. > Message-ID: <Cy8oAD.Dzw@teleride.on.ca>
  1050.  
  1051. In article <Cy8oAD.Dzw@teleride.on.ca> Stephen M. Webb,
  1052. stevew@teleride.on.ca 
  1053. writes:
  1054. > Virtual memory became possible only with the 68020, which was not in
  1055. > production at the time the Mac was released.  
  1056.  
  1057. This is mostly correct, as the 68010 also supports interruptable
  1058. instructions
  1059. which allow mid-instruction page faults. With all the addressing modes of
  1060. the
  1061. 68K, a single instruction can cause a large number (I think as many as
  1062. 17) page
  1063. faults.
  1064.  
  1065. +++++++++++++++++++++++++++
  1066.  
  1067. >From pgontier@novell.com (Pete Gontier)
  1068. Date: Mon, 07 Nov 1994 10:12:50 -0700
  1069. Organization: Novell, Inc., Walnut Creek Macintosh Client Site
  1070.  
  1071. In article <CypDrr.1qn@newsserver.pixel.kodak.com>,
  1072. Jonathan Gary <jgary@ssd.kodak.com> wrote:
  1073.  
  1074. > In article <Cy8oAD.Dzw@teleride.on.ca> Stephen M. Webb,
  1075. > stevew@teleride.on.ca writes:
  1076. >
  1077. > > Virtual memory became possible only with the 68020, which was not in
  1078. > > production at the time the Mac was released.  
  1079. > This is mostly correct, as the 68010 also supports interruptable
  1080. > instructions which allow mid-instruction page faults.
  1081.  
  1082. Not really. There were several UNIX systems which handled virtual memory
  1083. page faults on a regular old 68000 by handing control to their *second*
  1084. 68000 ...
  1085.  
  1086. -- 
  1087.  Views expressed here do not necessarily reflect those of my employer.
  1088.  
  1089. +++++++++++++++++++++++++++
  1090.  
  1091. >From lsr@taligent.com (Larry Rosenstein)
  1092. Date: Thu, 3 Nov 1994 22:11:13 GMT
  1093. Organization: Taligent, Inc.
  1094.  
  1095. In article <philip-2810940935360001@mackerel.cs.uct.ac.za>,
  1096. philip@cs.wits.ac.za (Philip Machanick) wrote:
  1097.  
  1098. > The Lisa - which initially was sold with much more RAM than a Mac - had a
  1099. > more sophisticated memory management scheme. Does anyone know details?
  1100.  
  1101. The Lisa supported segmented virtual memory and protected address spaces,
  1102. but it still used handles.  (BTW, I believe it had a custom MMU.)
  1103.  
  1104. The main reason was that data segments could not be automatically paged in
  1105. and out, because the 68000 CPU didn't support restarting instructions on a
  1106. fault.  (68000 machines that did support full demand paging like the early
  1107. Apollos used 2 CPUs, one of which was dedicated to loading pages from the
  1108. disk.) 
  1109.  
  1110. The Lisa did support demand paging of code segments and automatic stack
  1111. expansion.  This was possible because there were a limited set of
  1112. instructions used to access code segments, and the OS group figured out
  1113. how to restart those instructions.  
  1114.  
  1115. Similarly for the stack segment, the compiler generated a TST instruction
  1116. at function entry to touch the maximum stack address needed in the
  1117. function.  The OS knew how to restart that instruction as well.
  1118.  
  1119. Handles are useful in an environment with a fixed sized data space where
  1120. heap blocks of varying size are allocated and deallocated relatively
  1121. frequently.
  1122.  
  1123. -- 
  1124. Larry Rosenstein
  1125. Taligent, Inc.
  1126.  
  1127. lsr@taligent.com
  1128.  
  1129. ---------------------------
  1130.  
  1131. >From gg110@cus.cam.ac.uk (G. Gavazzi)
  1132. Subject: Q: Sound Input Device
  1133. Date: 1 Nov 1994 01:36:02 GMT
  1134. Organization: University of Cambridge, England
  1135.  
  1136. Hi everybody,
  1137. I need some help, sorry for the naive question: I am using: 
  1138.  
  1139. Handle rate;
  1140. SPBGetDeviceInfo(myInRefNum,siSampleRateAvailable,*rate);
  1141.  
  1142. to determine the available sampling rate of the sound device input.  Now 
  1143. the Inside Mac VI tells that this function returns an Integer and a Handle 
  1144. (list of sample rates of type Fixed).  I think then that *rate points to a 
  1145. 4 bytes int, the next 4 bytes Fixed being allocated for the first sample 
  1146. rate and so on.  Besides the fact that I do not know what kind of type is 
  1147. Fixed (fixed point? not standard C certainly) I cannot get a sensible 
  1148. result out of this :(
  1149.  
  1150.  
  1151. Also my SPBRecordToFile(out_file,&myinParam,FALSE) does not fill my 
  1152. out_file, I think because the sampling rate is 0.  And I cannot set the 
  1153. sampling rate with SPBSetDeviceInfo() 'cause I get bad sampling rate error 
  1154. (-225).  (btw: I am using the wonderful CW4 :)
  1155.  
  1156. Can somebody point me to some example source code (I should be able to ftp 
  1157. a develop issue if necessary)?
  1158.  
  1159. Thank you.
  1160. Giuliano Gavazzi
  1161.  
  1162. +++++++++++++++++++++++++++
  1163.  
  1164. >From chris-b@cs.auckland.ac.nz (Chris Burns)
  1165. Date: Tue, 01 Nov 1994 21:33:16 +1200
  1166. Organization: AucklandUniversity:ComputerScience:HMU
  1167.  
  1168. In article <394622$jri@lyra.csx.cam.ac.uk>, gg110@cus.cam.ac.uk (G.
  1169. Gavazzi) wrote:
  1170.  
  1171. > to determine the available sampling rate of the sound device input.  Now 
  1172. > the Inside Mac VI tells that this function returns an Integer and a Handle 
  1173. > (list of sample rates of type Fixed).  I think then that *rate points to a 
  1174. > 4 bytes int, the next 4 bytes Fixed being allocated for the first sample 
  1175. > rate and so on.  Besides the fact that I do not know what kind of type is 
  1176. > Fixed (fixed point? not standard C certainly) I cannot get a sensible 
  1177. > result out of this :(
  1178.  
  1179. /////////////////////////////////////////////////////////////////////////
  1180. // Include appropriate header files
  1181.  
  1182. #include <SoundInput.h>
  1183. #include <FixMath.h>
  1184.  
  1185. /////////////////////////////////////////////////////////////////////////
  1186. // Set up types to access a handle to an array of Fixed
  1187.  
  1188. typedef Fixed RateList[];
  1189. typedef RateList **RateListHandle;
  1190.  
  1191. /////////////////////////////////////////////////////////////////////////
  1192. // Define a structure according to IM6 22-67 'srav'
  1193.  
  1194. struct{
  1195.     short           count;
  1196.     RateListHandle  rates;
  1197. }SampleRates;
  1198.  
  1199. /////////////////////////////////////////////////////////////////////////
  1200. // Get sound input device to fill in the "SampleRates" struct
  1201.  
  1202.     Err = SPBGetDeviceInfo(RefNum,siSampleRateAvailable,(Ptr)&SampleRates);
  1203.     FailOSErr(Err,"\p_SPBGetDeviceInfo[siSampleRateAvailable] FAILED");
  1204.  
  1205. /////////////////////////////////////////////////////////////////////////
  1206. // For example, pick the highest sampling rate from the ones returned.
  1207.  
  1208. long        MaxLong;
  1209. long        MaxPos;
  1210. Fixed       CurFixed;
  1211. long        CurLong;
  1212. short       i;
  1213.  
  1214.  
  1215.     if (SampleRates.count == 0)
  1216.         SampleRate = (**SampleRates.rates)[2];
  1217.     else
  1218.     {
  1219.         MaxLong = 0;
  1220.         MaxPos = 0;
  1221.  
  1222.         for (i = 0;i < SampleRates.count;i++)
  1223.         {
  1224.             CurFixed = (**SampleRates.rates)[i];
  1225.             if (BitTst((Ptr)&CurFixed,0))
  1226.             {
  1227.                 BitClr((Ptr)&CurFixed,0);
  1228.                 CurLong = 32768 + Fix2Long(CurFixed);
  1229.             }
  1230.             else
  1231.                 CurLong = Fix2Long(CurFixed);
  1232.  
  1233.             if (CurLong >= MaxLong)
  1234.             {
  1235.                 MaxLong = CurLong;
  1236.                 MaxPos = i;
  1237.             }
  1238.         }
  1239.         SampleRate = (**SampleRates.rates)[MaxPos];
  1240.     }
  1241.  
  1242. /////////////////////////////////////////////////////////////////////////
  1243. // Set sampling rate
  1244.  
  1245.     Err = SPBSetDeviceInfo(RefNum,siSampleRate,(Ptr)&SampleRate);
  1246.     FailOSErr(Err,"\p_SPBGetDeviceInfo[siSampleRate] FAILED");
  1247.  
  1248. Chris B
  1249. - ---------------------------------------------------------------------
  1250. NewZealand:AucklandUniversity:ComputerScience:HyperMediaUnit:ChrisBurns
  1251. Internet: chris-b@cs.auckland.ac.nz
  1252. Phone:    +64 9 373-7599 x6194
  1253. Fax:      +64 9 373-7453                         Async, therefore I am.
  1254. - ---------------------------------------------------------------------
  1255.  
  1256. ---------------------------
  1257.  
  1258. >From Pete Gontier <gurgle@dnai.com>
  1259. Subject: QC FAQ
  1260. Date: 1 Nov 1994 08:01:21 GMT
  1261. Organization: Pete's Proxy Posting, Ink.
  1262.  
  1263. This is a monthly posting. Changes this month: none.
  1264. This posting is available via 'ftp':
  1265.  
  1266.     ftp://ftp.dnai.com/users/gurgle/QC_FAQ.txt
  1267.  
  1268. Poster has no affiliation with Onyx Technology. Please email
  1269. responses to addresses listed at the bottom of this text.
  1270.  
  1271. - --------------------- cut here -----------------------
  1272.  
  1273. QC(tm) FAQ 0794.2
  1274. =================
  1275.  
  1276. Q: So what is QC?
  1277.  
  1278. A: QC is a control panel/extension that adds the ability to stress test
  1279. applications for runtime, memory related errors. QC can be used during
  1280. development, during testing by inhouse and beta testers, and after the
  1281. product ships (although a little late if errors are detected) by end
  1282. users to evaluate the stability of a software package.
  1283.  
  1284. Q: Is there a demo available?
  1285.  
  1286. A: Yes. It is available from most online services as well as Internet
  1287. sites like sumex.
  1288.  
  1289. Q: What do I have to do to use the demo?
  1290.  
  1291. A: Put QC in your Control Panels folder and reboot your Mac. If the demo
  1292. has expired contact us at one of the online addresses listed above.
  1293.  
  1294. Q: Can I use QC to test existing applications without rebuilding them?
  1295.  
  1296. A: Yes. QC was designed to test applications without requiring any
  1297. modifications to the code. The release version of QC includes an
  1298. optional application programming interface (QCAPI) that programmers can
  1299. use to control QC testing directly from their code.
  1300.  
  1301. Q: How does QC report errors it finds?
  1302.  
  1303. A: QC reports detected errors through the use of a low level debugger.
  1304. QC uses the _DebugStr trap to cause a user break into your favorite
  1305. debugger. QC is fully compatible with MacsBug, TMON, TMON PRO, The
  1306. Debugger, SourceBug, SADE, THINK C, CodeWarrior, MPW, etc. If you turn
  1307. off debug breaks in the list of options, QC will emit a short
  1308. distinctive beep when errors are detected.
  1309.  
  1310. Q: Does QC work on a Power Macintosh?
  1311.  
  1312. A: Yes. However, two incompatible tests are disabled if you are using
  1313. the Modern Memory Manager. Those tests are 'Block Bounds Checking' and
  1314. 'Invalidate Free Memory'. The next release of QC will be a native
  1315. PowerPC application and will be available as a free upgrade to existing
  1316. users.
  1317.  
  1318. Q: How does QC compare with tools such as Even Better Bus Error and the
  1319. debugging version of the Modern Memory Manager?
  1320.  
  1321. A: EBBE is a free utility but one downfall it has is that it's either
  1322. installed or it isn't. You either get bus errors potentially caused in
  1323. all running apps or you get nothing. With QC, you can control when
  1324. testing is active and what apps might potentially crash with a bus
  1325. error. Everything is unaffected. Although early development versions
  1326. were available, we are not aware of any debugging version of the Modern
  1327. Memory Manager being made available by Apple at this time. Early
  1328. versions of MMM were much slower than QC in comprobable tests and the
  1329. MMM does not offer as many tests as QC does. There is also no easy to
  1330. use UI to activate/deactivate MMM testing on an application heap.
  1331.  
  1332. Q: What are the advantages to using QC?
  1333.  
  1334. A: QC offers tests that are not available anywhere else and it performs
  1335. many tests much faster than other testing tools. All QC's tests are
  1336. integrated into a single INIT/cdev combination. A Macintosh interface
  1337. makes QC usable right out of the box. QC's API can be used to fine tune
  1338. testing to specific areas of code (new code or suspect code, for
  1339. example). QC reports more information when an error is found.
  1340.  
  1341. Q: What do I get when I purchase QC?
  1342.  
  1343. A: The following is contained on the release disk. A fully licensed copy
  1344. of QC for single machine use and complete documentation. The QC
  1345. Application Programming Interface (QCAPI) libraries and interfaces for
  1346. those who want to control QC testing directly from their code. Full
  1347. source code to an application called BadAPPL that illustrates what QC
  1348. detects as well as how to use the QCAPI. The disk also contains some
  1349. assorted free utilities.
  1350.  
  1351. Q: How can I obtain QC?
  1352.  
  1353. A: Pricing is $99.95 for a single copy, $400 for a five pack, and $700
  1354. for a ten pack. Please add $5 shipping and handling to each order.
  1355. Credit card orders are accepted. You can contact Onyx via the email
  1356. addresses listed above or by calling 813.795.7801 or faxing
  1357. 813.795.5901. You can also send regular mail to:
  1358.  
  1359. Onyx Technology
  1360. 7811 27 Ave W
  1361. Bradenton, FL 34209
  1362.  
  1363. Our email addresses are:
  1364.  
  1365. America Online:  OnyxTech
  1366. Internet:        onyxtech@aol.com
  1367. AppleLink:       D2238
  1368. CompuServe:      70550,1377
  1369.  
  1370. QC is a trademark of Onyx Technology
  1371. Copyright (c) 1994 Onyx Technology
  1372.  
  1373. ---------------------------
  1374.  
  1375. >From cazelaig@ERE.UMontreal.CA (Cazelais Gilles)
  1376. Subject: ResEdit 2.1.3, is it good this time?
  1377. Date: Wed, 26 Oct 1994 07:26:07 GMT
  1378. Organization: Universite de Montreal
  1379.  
  1380.  
  1381. Hello folks,
  1382.               I just want to know if the recent version of ResEdit
  1383. (2.1.3) is a good version without known bugs, like the nasty one in
  1384. version 2.1.2.  Is anybody having some troubles with 2.1.3?  Any
  1385. problems with it?
  1386.  
  1387. In brief, can I trust it??  I really want to be sure before using it...
  1388.  
  1389. Thanks a lot,
  1390.  
  1391.                 Martin.
  1392.  
  1393. +++++++++++++++++++++++++++
  1394.  
  1395. >From aatrix@aol.com (Aatrix)
  1396. Date: 26 Oct 1994 08:20:01 -0400
  1397. Organization: America Online, Inc. (1-800-827-6364)
  1398.  
  1399. In article <Cy9rBK.HrJ@cc.umontreal.ca>, cazelaig@ERE.UMontreal.CA
  1400. (Cazelais Gilles) writes:
  1401.  
  1402. >               I just want to know if the recent version of ResEdit
  1403. > (2.1.3) is a good version without known bugs, like the nasty one in
  1404. > version 2.1.2.  Is anybody having some troubles with 2.1.3?  Any
  1405. problems
  1406. > with it?
  1407.  
  1408. Uh, which nasty bug?  The one that tanked a file if you copied a resource
  1409. over another that was smaller has been fixed.  Don't know about some of
  1410. the others (CNTLs in DLOGs don't display on a Quadra, for one thing).
  1411.  
  1412. a.d. jensen,
  1413. Aatrix Software, Inc.
  1414. aatrix@aol.com
  1415.   "Forty below keeps out the riff-raff." - North Dakota State Motto
  1416.  
  1417.  
  1418. +++++++++++++++++++++++++++
  1419.  
  1420. >From alain@cs.uchicago.edu (Alain Aslag Roy)
  1421. Date: Wed, 26 Oct 1994 12:57:12 GMT
  1422. Organization: Department of Computer Science, University of Chicago
  1423.  
  1424. In article <Cy9rBK.HrJ@cc.umontreal.ca> cazelaig@ERE.UMontreal.CA (Cazelais Gilles) writes:
  1425. >
  1426. >Hello folks,
  1427. >              I just want to know if the recent version of ResEdit
  1428. >(2.1.3) is a good version without known bugs, like the nasty one in
  1429. >version 2.1.2.  Is anybody having some troubles with 2.1.3?  Any
  1430. >problems with it?
  1431.  
  1432. I've had no problems with Resedit 2.1.3, and I use it a fair amount. I
  1433. did have problems with 2.1.2, so I guess they really did fix those
  1434. heinous crashes.
  1435.  
  1436. -alain
  1437.  
  1438. +++++++++++++++++++++++++++
  1439.  
  1440. >From nick+@pitt.edu ( nick.c )
  1441. Date: Wed, 26 Oct 1994 11:44:23 -0400
  1442. Organization: The Pitt, Chemistry
  1443.  
  1444. In article <Cy9rBK.HrJ@cc.umontreal.ca>, cazelaig@ERE.UMontreal.CA
  1445. (Cazelais Gilles) wrote:
  1446.  
  1447.  
  1448. >               I just want to know if the recent version of ResEdit
  1449. > (2.1.3) is a good version without known bugs, like the nasty one in
  1450. > version 2.1.2.  Is anybody having some troubles with 2.1.3?  Any
  1451. > problems with it?
  1452. > In brief, can I trust it??  I really want to be sure before using it...
  1453.  
  1454.    What the X-files slogan "Trust no one, backup frequently?" :-)
  1455.  
  1456.    I've been using 2.1.3 for a while now, and had none of the
  1457.      corruption problems that I did with 2.1.2.  I seem to remember
  1458.      a post when 2.1.3 was released claiming all reported bugs were
  1459.      dealt with, and that *seems* to be the case.
  1460.  
  1461.  
  1462.  Internet: nick+@pitt.edu            _/   _/  _/  _/_/_/   _/   _/  
  1463.    eWorld: nick                     _/_/ _/  _/  _/   _/  _/_/_/ 
  1464.       CIS: 71232,766               _/ _/_/  _/  _/       _/ _/    
  1465.      http://www.pitt.edu/~nick/   _/   _/  _/   _/_/_/  _/   _/     
  1466.                     
  1467.  
  1468. +++++++++++++++++++++++++++
  1469.  
  1470. >From ross@bnr.ca (Ross Brown)
  1471. Date: Wed, 26 Oct 1994 12:40:49 -0400
  1472. Organization: Bell-Northern Research
  1473.  
  1474. In article <Cy9rBK.HrJ@cc.umontreal.ca>, cazelaig@ERE.UMontreal.CA
  1475. (Cazelais Gilles) wrote:
  1476.  
  1477. > Hello folks,
  1478. >               I just want to know if the recent version of ResEdit
  1479. > (2.1.3) is a good version without known bugs, like the nasty one in
  1480. > version 2.1.2.  Is anybody having some troubles with 2.1.3?  Any
  1481. > problems with it?
  1482.  
  1483. The nasty 2.1.2 bugs are indeed gone.  No more file corruption.  But...
  1484.  
  1485. Try this on a Power Mac.  It doesn't seem to happen on 68K Macs - odd,
  1486. since ResEdit runs in full emulation on PPC.  I find that this happens
  1487. even with all extensions (and Modern Memory Manager) off.
  1488.  
  1489. Copy some resources into the Clipboard.  In ResEdit, open a file whose
  1490. resource fork has no resources of the types represented in the Clipboard,
  1491. then paste them in.  Close the file, and click "No" when asked if you want
  1492. to save the file.  Open the file, and you'll find that the resources
  1493. *were* added to the file, against your instructions.
  1494.  
  1495. I sincerely hope that this bug is not traceable to the emulator.
  1496.  
  1497. -- 
  1498. Ross Brown
  1499. Macintosh/UNIX Systems Integration
  1500. Bell-Northern Research Ltd.
  1501. ross@bnr.ca
  1502.  
  1503. +++++++++++++++++++++++++++
  1504.  
  1505. >From kurisuto@babel.ling.upenn.edu (Sean Crist)
  1506. Date: 26 Oct 1994 20:14:31 GMT
  1507. Organization: University of Pennsylvania, Linguistics Department
  1508.  
  1509. In article <Cy9rBK.HrJ@cc.umontreal.ca>,
  1510. Cazelais Gilles <cazelaig@ERE.UMontreal.CA> wrote:
  1511. >
  1512. >Hello folks,
  1513. >              I just want to know if the recent version of ResEdit
  1514. >(2.1.3) is a good version without known bugs, like the nasty one in
  1515. >version 2.1.2.  Is anybody having some troubles with 2.1.3?  Any
  1516. >problems with it?
  1517. >
  1518. >In brief, can I trust it??  I really want to be sure before using it...
  1519.  
  1520. There's at least one bug I've come across.  Unfortunately I didn't make
  1521. notes of the specific circumstances, but I remember that I was able to
  1522. replicate it.  It was something in the DITL editor; I think it had to do
  1523. with resizing CNTL items or something like that.
  1524.  
  1525.   \/ __ __    _\_     --Kurisuto  (kurisuto@unagi.cis.upenn.edu)
  1526.  ---  |  |    \ /     
  1527.   _| ,| ,|   -----    For a free copy of the Bill of Rights, finger
  1528.   _| ,| ,|    [_]     this account.
  1529.    |  |  |    [_]     
  1530.  
  1531.  
  1532. +++++++++++++++++++++++++++
  1533.  
  1534. >From cazelaig@ERE.UMontreal.CA (Cazelais Gilles)
  1535. Date: Wed, 26 Oct 1994 22:51:30 GMT
  1536. Organization: Universite de Montreal
  1537.  
  1538. In article <1994Oct26.125712.3989@midway.uchicago.edu> alain@cs.uchicago.edu (Alain Aslag Roy) writes:
  1539. >In article <Cy9rBK.HrJ@cc.umontreal.ca> cazelaig@ERE.UMontreal.CA (Cazelais Gilles) writes:
  1540. >>
  1541. >>Hello folks,
  1542. >>              I just want to know if the recent version of ResEdit
  1543. >>(2.1.3) is a good version without known bugs, like the nasty one in
  1544. >>version 2.1.2.  Is anybody having some troubles with 2.1.3?  Any
  1545. >>problems with it?
  1546. >
  1547. >I've had no problems with Resedit 2.1.3, and I use it a fair amount. I
  1548. >did have problems with 2.1.2, so I guess they really did fix those
  1549. >heinous crashes.
  1550. >
  1551. >-alain
  1552.  
  1553.  
  1554. So, do you think it really worth to upgrade it from 2.1.1?
  1555.  
  1556.  
  1557.  
  1558.  
  1559. +++++++++++++++++++++++++++
  1560.  
  1561. >From s.fraser@ic.ac.uk (Simon Fraser)
  1562. Date: Sat, 29 Oct 94 15:56:35 GMT
  1563. Organization: Centre for Population Biology
  1564.  
  1565. In article <38mdb7$f2m@netnews.upenn.edu> Sean Crist,
  1566. kurisuto@babel.ling.upenn.edu writes:
  1567. >There's at least one bug I've come across.  Unfortunately I didn't make
  1568. >notes of the specific circumstances, but I remember that I was able to
  1569. >replicate it.  It was something in the DITL editor; I think it had to do
  1570. >with resizing CNTL items or something like that.
  1571.  
  1572. Yes, I've had problems here. Create a new CNTL resource, open a
  1573. DLOG, make a new CNTL item, then double-click to edit it. Just
  1574. as you finish typing the ID of your new CNTL, ResEdit crashes.
  1575. I've found that saving the file _before_ opening the DLOG helps.
  1576.  
  1577. I've also found that sometimes editing resources with templates
  1578. fails to set the 'window dirty' flag (or whatever tells ResEdit
  1579. that you've made changes), so ResEdit fails to save changes
  1580. to the resource.
  1581.  
  1582. I'm sure there are one or two other things that I've forgotten....
  1583.  
  1584. Simon
  1585. __________________________________________________________________________
  1586. Simon Fraser                            NERC Centre for Population Biology
  1587. s.fraser@ic.ac.uk                         Imperial College at Silwood Park
  1588.                                              Ascot, Berkshire, SL5 7PY. UK
  1589.  
  1590. +++++++++++++++++++++++++++
  1591.  
  1592. >From peter.lewis@info.curtin.edu.au (Peter N Lewis)
  1593. Date: Mon, 31 Oct 1994 12:14:37 +0800
  1594. Organization: NCRPDA, Curtin University
  1595.  
  1596. ResEdit 2.1.3 is quite useable, but it still has bugs.  One that gets me a
  1597. lot is thast it locks up when you open the DITL editor if there is strange
  1598. things in the clipboard.  This is on a 6100, System 7.5 - it reliably
  1599. locks up every time if I copy stuff out of SimpleText and then open a
  1600. dialog window for editing in ResEdit.  So I just copy something in ResEdit
  1601. before editing dialogs.
  1602.    Peter.
  1603. -- 
  1604. Peter N Lewis <peter.lewis@info.curtin.edu.au> - Macintosh TCP fingerpainter
  1605. FTP my programs from redback.cs.uwa.edu.au:Others/PeterLewis/ or
  1606. amug.org:pub/peterlewis/ or nic.switch.ch:software/mac/peterlewis/
  1607.  
  1608. +++++++++++++++++++++++++++
  1609.  
  1610. >From Jason.Grossman@ucs.cam.ac.uk (Jason Grossman)
  1611. Date: Mon, 31 Oct 1994 15:03:50 +0000
  1612. Organization: University of Cambridge
  1613.  
  1614. Peter N Lewis wrote:
  1615.  
  1616. > ResEdit 2.1.3 is quite useable, but it still has bugs.  One that gets me a
  1617. > lot is thast it locks up when you open the DITL editor if there is strange
  1618. > things in the clipboard.  This is on a 6100, System 7.5 - it reliably
  1619. > locks up every time if I copy stuff out of SimpleText and then open a
  1620. > dialog window for editing in ResEdit.  So I just copy something in ResEdit
  1621. > before editing dialogs.
  1622. >    Peter.
  1623.  
  1624. Ah! It does this to me, too (7100, 7.1), but I'd never realised what the
  1625. conditions were, so I didn't know the work-around of copying something
  1626. before opening a DITL. I've been using the alternative work-around of
  1627. opening the DITL, getting the crash, pressing the emergency reboot button,
  1628. waiting for the machine to restart, and then opening the DITL again.
  1629.  
  1630. Jason
  1631.  
  1632. +++++++++++++++++++++++++++
  1633.  
  1634. >From alyx@apple.com (alyx)
  1635. Date: Thu, 3 Nov 1994 03:46:24 GMT
  1636. Organization: Apple Computer, Inc.
  1637.  
  1638. In article <nick+-2610941144230001@ehdup-f-11.slip.net.pitt.edu>,
  1639. nick+@pitt.edu ( nick.c ) wrote:
  1640.  
  1641. >      [...]  I seem to remember
  1642. >      a post when 2.1.3 was released claiming all reported bugs were
  1643. >      dealt with, and that *seems* to be the case.
  1644.  
  1645. ah, memories.  anyone else remember the beloved 4D Tools dialog box:
  1646.  
  1647.   "No problems found.  Everything *seems* OK."
  1648.  
  1649. quite a nasty sense of humor there...
  1650.  
  1651. alex.
  1652.  
  1653. ---------------------------
  1654.  
  1655. >From red.riders
  1656. Subject: Shareware, VISA Merchant Accounts, and YOU!
  1657. Date: Thu, 03 Nov 1994 00:27:00 -0500
  1658. Organization: DSC/Voicenet - BBS/Unix Shells/SLIP/NEWS - (215)443-7390
  1659.  
  1660. Hey homeys, here's some info I had laying around. No more bitching
  1661. about lost shareware dollars, OK?
  1662.  
  1663.  
  1664.             Increase Your Business by Taking Mastercard and Visa 
  1665.  
  1666.      
  1667. Credit card industry experts report that offering customers the ability to pay 
  1668. with Visa or Mastercard will increase a company's business between 10% 
  1669. and 50%. Whether the increase is closer to 10% or 50% depends on the type 
  1670. of business and its particular clientele. Yet there can few tasks more 
  1671. difficult for a home-based business than obtaining a merchant account. This
  1672. is because of discrimination against home-based as well as other types of 
  1673. businesses by most banks. Nevertheless, home-based businesses do manage
  1674. to be able to offer their customers the ability to use their charge cards.
  1675. There are four basic avenues for securing a merchant account.
  1676.  
  1677. I. Financial Institutions 
  1678. A. Banks
  1679.  
  1680. Even though banks as a general rule are not granting home 
  1681. businesses merchant accounts for taking Visa & Mastercard, do try 
  1682. your own bank, particularly since they know you as a customer. If 
  1683. your bank denies you a merchant account, try small independent 
  1684. banks, particularly ones that have their merchant accounts processed 
  1685. by an out-of-state bank instead of doing it themselves or using a 
  1686. larger local bank. Banks in smaller communities are more apt to work with 
  1687. home-based businesses.
  1688.  
  1689. B. Saving & Loans, Thrifts and Credit Unions
  1690.  
  1691. Most people think of banks as THE only financial institutions 
  1692. granting merchant accounts to businesses. However, savings & Loans, thrifts 
  1693. and even credit unions are increasingly offering merchant accounts. You 
  1694. may find these institutions more willing to work with you.
  1695. Remember that banks, in the words of Larry Schwartz and Pearl 
  1696. Sax founders of the National Association of Credit Car Merchants (217 N. 
  1697. Seacrest Boulevard, Box 400, Boynton Beach, Florida 33425; (407)
  1698. 737-7500), "need 
  1699. reassurance that handling your business will both safe and profitable." It
  1700. almost goes 
  1701. without saying that your presentation of your business, your financial
  1702. ability and 
  1703. yourself must make your banker feel absolute confidence in you. 
  1704.  
  1705. II. Business Organizations 
  1706. A. Trade Associations
  1707.  
  1708. Trade associations sometimes provide access to Visa and Mastercard 
  1709. accounts as a member service. Examples of organizations that may be 
  1710. helpful are the Retail Merchants Association and Direct Marketing 
  1711. Association and others specifically related to your particular industry.
  1712. To find trade associations in your field, use Gale's Encyclopedia of 
  1713. Associations, available at the reference desk in most libraries.
  1714.  
  1715. B. Local Business Organizations.
  1716.  
  1717. Chambers of Commerce and local merchant associations sometimes help 
  1718. their members secure merchant accounts through a bank affiliated with the 
  1719. Chamber or the association. These can be the least costly merchant accounts 
  1720. with discounts as low as 2% to 3% on relatively small volumes. 
  1721. III. Independent Selling Organizations
  1722.  
  1723. Perhaps the most likely way to get a merchant account is to work through a 
  1724. bank agent or independent sales organization (ISO), which is a company 
  1725. that acts as an intermediary between small businesses and banks. You will 
  1726. undoubtedly pay more using an ISO because these companies derive their 
  1727. income from fees and surcharges added to what you would normally pay if were
  1728. able to deal directly with a bank. 
  1729.  
  1730. You may be quoted these fees and charges when going through an ISO: 
  1731.  
  1732.  o Application fees ranging between $95 to $325. These may or may not be
  1733.    refundable. Usually they are not, but find out under what circumstances 
  1734.    all or part of the fee may be refundable. 
  1735.  
  1736.   o Point of sale terminal lease or purchase. ISO's typically charge from 
  1737.     $425 to $1700 for a terminal if purchased through a bank would cost 
  1738.     about $300. Leasing typically runs between $18 and $80 a month. Some 
  1739.     ISO's are offering software that can be used in place of a sales terminal, 
  1740.     priced as low as $150.
  1741.  
  1742.   o Service fees from 3.5% to 7% compared to 2% to 5% from a bank, though
  1743. one ISO  
  1744.     is quoting fees of 1.99%. This ISO has other charges that tend to make
  1745. up fo the lower 
  1746.     service fee.
  1747.  
  1748.   o Per transaction charge of $.20 to $.25
  1749.  
  1750.   o Monthly statement fee of $5.00 to $10.00
  1751.  
  1752.   o Minimum monthly fee 
  1753.  
  1754. Advice about dealing with ISO's. Fees vary considerably among ISO's, so it
  1755. pays to be a 
  1756. comparison shopper. Read the contract carefully for hidden charges and
  1757. requirements. You 
  1758. may also be required to use a check verification service provided by the
  1759. ISO for an 
  1760. additional fee. One final warning. The salespeople for ISO's may be so eager
  1761. to sign you up that they may inaccurately fill out your applications about
  1762. items that 
  1763. would not be approved if filled in accurately. The problem is that if a
  1764. falsehood is
  1765. detected later by the bank, your merchant account may be terminated and your 
  1766. name placed on a terminated merchant list that bars you from getting another 
  1767. merchant account in the future. Subject that are sometimes filled in include 
  1768. whether the salesperson has personally inspected your premises and the 
  1769. percentage mail order and telephone constitute of your sales. Be sure to 
  1770. check your filled in application for accuracy.
  1771.  
  1772. Following are independent selling organizations listed in alphabetical order 
  1773. that have told us or have been reported by members of the forum to accept 
  1774. home businesses for merchant accounts (Asterisked entries are posted in this 
  1775. file for the first time):
  1776.  
  1777. Bancard, Inc. 
  1778.     1233 Sherman Drive
  1779.     Longmont, CO 80501
  1780.     303/530-0264
  1781.     800/666-7575
  1782.  
  1783. Requires two years in business at the same address.
  1784.  
  1785. Data Capture Systems    
  1786.     231 Quincy Street
  1787.     Rapid City, SD 57701
  1788.     605/341-6461 
  1789.  
  1790. Comes to your home for an on-site interview and charges $25 to send 
  1791. an application plus a $300 application fee.
  1792.  
  1793. Electronic Bankcard Systems 
  1794.     2554 Lincoln Blvd., Suite 1088
  1795.     Marina Del Rey, CA 90291 
  1796.     213/827-5772
  1797.  
  1798. No mail order, telemarketing or spa sales
  1799.  
  1800. Gold Coast Bankcard Center 
  1801.      Ft. Lauderdale , FL
  1802.      305-492-0303
  1803.  
  1804. Affiliated with American Bankcard Center 800-777-VISA
  1805.  
  1806. Harbridge Merchant Services 
  1807.      681 Andersen Drive, 4th Floor
  1808.      Building Six
  1809.      Pittsburgh, PA 15220
  1810.      (412)937-1272
  1811.  
  1812. Under prior ownership, this company was called Peachtree. As Peachtree, it
  1813. was the subject of many complaints, but since the change in ownership, 
  1814. the reports are more positive.
  1815.  
  1816. Teleflora Creditline
  1817.      12233 West Olympic Boulevard
  1818.      Los Angeles CA 90064
  1819.      800-325-4849 or 310/526-5233.
  1820.  
  1821. Deals primarily with bulletin boards.   
  1822.  
  1823. US Merchant Services
  1824.      775 Park Avenue
  1825.      Huntington, NY 11743. 
  1826.      516 427-9700
  1827.      Fax 516 427 9746
  1828.      Thomas A. McGuire
  1829.  
  1830. IV. Options Other Than Visa and Mastercard
  1831.  
  1832. What about American Express and Discover? More people are likely to 
  1833. have a Visa or Mastercard. In early 1992 these were the market shares for
  1834. each of the 
  1835. principal cards: Visa - 46%; Mastercard - 26%; Am Express - 20%; Discover - 7%.
  1836.  
  1837. But American Express is easier to get than Visa and Mastercard. To contact 
  1838. American Express, call 800/528-5200. Discover is reportedly as difficult to 
  1839. get as Visa and Mastercard; however, the number to call is 800/347-6673.
  1840.  
  1841. +++++++++++++++++++++++++++
  1842.  
  1843. >From wgiverson@ucdavis.edu (Will Iverson)
  1844. Date: Thu, 03 Nov 1994 00:27:44 -0800
  1845. Organization: University of California, Davis
  1846.  
  1847. In article <red.riders-0311940027000001@firefly-slip.voicenet.com>,
  1848. red.riders wrote:
  1849.  
  1850. > Hey homeys, here's some info I had laying around. No more bitching
  1851. > about lost shareware dollars, OK?
  1852. >             Increase Your Business by Taking Mastercard and Visa 
  1853. <snip>
  1854.  
  1855. Thanks tremendously for the info!  Very interesting & informative!
  1856.  
  1857. -Will
  1858.  
  1859. +++++++++++++++++++++++++++
  1860.  
  1861. >From dbayly@homebase.tiac.net (David Bayly)
  1862. Date: Thu, 03 Nov 1994 10:14:50 -0500
  1863. Organization: Chez moi
  1864.  
  1865. In article <wgiverson-0311940027440001@modem68.ucdavis.edu>,
  1866. wgiverson@ucdavis.edu (Will Iverson) wrote:
  1867.  
  1868. > In article <red.riders-0311940027000001@firefly-slip.voicenet.com>,
  1869. > red.riders wrote:
  1870. > > Hey homeys, here's some info I had laying around. No more bitching
  1871. > > about lost shareware dollars, OK?
  1872. > >             Increase Your Business by Taking Mastercard and Visa 
  1873. > > 
  1874. > <snip>
  1875. > Thanks tremendously for the info!  Very interesting & informative!
  1876. > -Will
  1877.  
  1878. Theres also, netcash, which I am in the process of learning about. The way
  1879. to do that is to send mail to help@agents.com. They have merchant
  1880. accounts, Peter Lewis for one uses them.
  1881. -- 
  1882. - David Bayly       dbayly@homebase.tiac.net       
  1883. "If you keep your mind sufficiently open, people will throw a lot of rubbish into it." -William A. Orton
  1884.  
  1885. +++++++++++++++++++++++++++
  1886.  
  1887. >From kurisuto@babel.ling.upenn.edu (Sean Crist)
  1888. Date: 3 Nov 1994 21:41:46 GMT
  1889. Organization: University of Pennsylvania, Linguistics Department
  1890.  
  1891. One thing to be careful of if you're arranging this: the bank may charge
  1892. you a minimum monthly fee for this service (something like $5 or $10 a
  1893. month).  I once arranged VISA/MasterCard service of this sort for a small
  1894. charitable organization; I can't remember all the details, but I remember
  1895. that it ended up being enough of a money leech that we decided that it
  1896. wasn't worth it to continue the arrangement.
  1897.  
  1898.   \/ __ __    _\_     --Kurisuto  (kurisuto@unagi.cis.upenn.edu)
  1899.  ---  |  |    \ /     
  1900.   _| ,| ,|   -----    For a free copy of the Bill of Rights, finger
  1901.   _| ,| ,|    [_]     this account.
  1902.    |  |  |    [_]     
  1903.  
  1904. ---------------------------
  1905.  
  1906. >From nagle@netcom.com (John Nagle)
  1907. Subject: Smalltalk implementations for Mac - update needed
  1908. Date: Fri, 28 Oct 1994 06:26:27 GMT
  1909. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  1910.  
  1911.     I've been away from Smalltalk on the Mac for a while, and I need
  1912. to get up to date.  I'd appreciate answers to the following questions.
  1913.  
  1914.     1.  I know about ParcPlace and Digitalk.  Any other vendors?
  1915.     (Somebody else was in Real Soon Now status, as I recall.)
  1916.  
  1917.     2.    Did Digitalk ever do much with the Mac implementation, like
  1918.     provide a compiler or a reasonable way to generate a standalone app?
  1919.  
  1920.     3.  I need something that can respond to Table Suite AppleEvents.
  1921.     (That is, I will be writing a program that responds, but I need
  1922.     a Smalltalk with AE support.)  Suggestions?
  1923.  
  1924. Thanks.
  1925.  
  1926.                     John Nagle
  1927.  
  1928. +++++++++++++++++++++++++++
  1929.  
  1930. >From podenski@halcyon.com (Patrick Podenski)
  1931. Date: Sat, 29 Oct 1994 18:39:46 -0700
  1932. Organization: Northwest Nexus
  1933.  
  1934. In article <nagleCyDDw4.EAy@netcom.com>, nagle@netcom.com (John Nagle) wrote:
  1935.  
  1936. >     I've been away from Smalltalk on the Mac for a while, and I need
  1937. > to get up to date.  I'd appreciate answers to the following questions.
  1938. >     1.  I know about ParcPlace and Digitalk.  Any other vendors?
  1939. >         (Somebody else was in Real Soon Now status, as I recall.)
  1940. >     2.  Did Digitalk ever do much with the Mac implementation, like
  1941. >         provide a compiler or a reasonable way to generate a standalone app?
  1942.  
  1943. A new version was put out a while ago (V 2 ?), but I haven't seen it.
  1944. >     3.  I need something that can respond to Table Suite AppleEvents.
  1945. >         (That is, I will be writing a program that responds, but I need
  1946. >         a Smalltalk with AE support.)  Suggestions?
  1947.  
  1948. There is a new Smalltalk from Quasar Knowledge Systems for the Mac that is
  1949. supposed to be nice. It apparently caters to Mac specific things like you
  1950. mentioned in 3.
  1951.  
  1952. -- 
  1953. - ----------------------------------------------
  1954. Pat Podenski         |  my opinions are my own, 
  1955. podenski@halcyon.com |  as are yours yours!
  1956. - ----------------------------------------------
  1957.  
  1958. +++++++++++++++++++++++++++
  1959.  
  1960. >From jwbaxter@olympus.net (John W. Baxter)
  1961. Date: Sat, 29 Oct 1994 20:49:05 -0700
  1962. Organization: Internet for the Olympic Peninsula
  1963.  
  1964. In article <nagleCyDDw4.EAy@netcom.com>, nagle@netcom.com (John Nagle) wrote:
  1965.  
  1966. >     I've been away from Smalltalk on the Mac for a while, and I need
  1967. > to get up to date.  I'd appreciate answers to the following questions.
  1968. >     1.  I know about ParcPlace and Digitalk.  Any other vendors?
  1969. >         (Somebody else was in Real Soon Now status, as I recall.)
  1970.  
  1971. QKS (Quasar Knowledge Systems) SmalltalkAgents.  I bought that on nearly
  1972. the last day of their User group special (ended Sep 30).  I like it a
  1973. lot.  It provides pretty good coverage of special Mac things, while at the
  1974. same time being highly cross-platform in nature (doesn't matter to me (I
  1975. don't have a cross platform, only a contented Mac), does matter to some
  1976. others).  I'm still in the learning stage, but I like "STA" a lot.
  1977.  
  1978. >     2.  Did Digitalk ever do much with the Mac implementation, like
  1979. >         provide a compiler or a reasonable way to generate a standalone app?
  1980.  
  1981. They finally did...they still don't seem terribly interested in the Mac,
  1982. however.  My Smalltalk V/Mac is back on the shelf.
  1983.  
  1984. >     3.  I need something that can respond to Table Suite AppleEvents.
  1985. >         (That is, I will be writing a program that responds, but I need
  1986. >         a Smalltalk with AE support.)  Suggestions?
  1987.  
  1988. I *think* you could arrange this either either Smalltalk V/Mac or
  1989. SmalltalkAgents.  I think it would be less work with SmalltalkAgents.
  1990.  
  1991. --John
  1992.  
  1993. -- 
  1994. John Baxter    Port Ludlow, WA, USA  [West shore, Puget Sound]
  1995.    Sorry...clever signatures require cleverness, not found here.
  1996.    jwbaxter@pt.olympus.net
  1997.  
  1998. +++++++++++++++++++++++++++
  1999.  
  2000. >From vollrath@vax.oxford.ac.uk (Alun ap Rhisiart)
  2001. Date: 30 Oct 94 17:02:30 GMT
  2002. Organization: Oxford University VAX 6620
  2003.  
  2004. In article <nagleCyDDw4.EAy@netcom.com>, nagle@netcom.com (John Nagle) writes:
  2005. >     I've been away from Smalltalk on the Mac for a while, and I need
  2006. > to get up to date.  I'd appreciate answers to the following questions.
  2007. >     1.  I know about ParcPlace and Digitalk.  Any other vendors?
  2008. >     (Somebody else was in Real Soon Now status, as I recall.)
  2009. Those two plus QKS SmalltalkAgents. I don't think Smalltalk/X is on the Mac yet
  2010. (and neither is IBM's VisualAge, as you might have guessed).
  2011. >     2.    Did Digitalk ever do much with the Mac implementation, like
  2012. >     provide a compiler or a reasonable way to generate a standalone app?
  2013. Not really. You had v1.2 didn't you, John? When the released v2 I was looking
  2014. forward to something better than that old cloner, but no, it was exactly the
  2015. same.  They did do a lot to v2.0 (like system 7 support - including AE - and an
  2016. even-driven interface, block-based exceptions, stuff like that). Unfortunately,
  2017. the changes meant that the old tools, like Widgets (a al windowbuilder),
  2018. Profile/V, and so on, no longer worked. We are _still waiting_ for an update
  2019. for widgets to give us a GUI builder! Compatibility with other platforms is
  2020. said to be 'improved', but evidently not much or windowbuilder would have been
  2021. ported a year ago.  It is also no faster, by the way, and Digitalk are not more
  2022. responsive (except, I gather, through Compu$erve - although they are on this
  2023. group more often now, which is something).
  2024. >     3.  I need something that can respond to Table Suite AppleEvents.
  2025. >     (That is, I will be writing a program that responds, but I need
  2026. >     a Smalltalk with AE support.)  Suggestions?
  2027. STA is the way to go for this kind of stuff (and a lot else). The main
  2028. criticisms of it at the moment would be: on Mac only (but other platforms on
  2029. the way); no equivalent of Envy for version control and config management (but
  2030. home grown solution due in v2); changes management is pretty poor (less
  2031. reliable and convenient than even St/Vs change log), but again is being worked
  2032. on.
  2033. Main strengths are: speed; very easy access to C (especially), pascal, fortran,
  2034. etc functions; saving objects to file or sending over network is very nicely
  2035. done, and *tons* faster than the V solution); multithreaded; very easy and
  2036. quick way to make standalones. My St/V is on the shelf too. The problem is that
  2037. after using STA for a while you forget how far beyond the others it has gone,
  2038. and it becomes easy to under-sell it.
  2039. > Thanks.
  2040. >                     John Nagle
  2041. -- 
  2042.  Alun ap Rhisiart  
  2043.  Animal Behaviour Research Group
  2044.  Oxford University              
  2045.  vollrath@vax.ox.ac.uk           
  2046. (also not a paid endorsement. Not that I object to being paid, you understand!)
  2047.  
  2048. +++++++++++++++++++++++++++
  2049.  
  2050. >From gburian@epaus.island.net (Geoff Burian)
  2051. Date: 30 Oct 1994 15:01:47 -0800
  2052. Organization: Island Internet Inc - (604) 753-2383
  2053.  
  2054. In article <nagleCyDDw4.EAy@netcom.com>, John Nagle <nagle@netcom.com> wrote:
  2055. >    I've been away from Smalltalk on the Mac for a while, and I need
  2056. >to get up to date.  I'd appreciate answers to the following questions.
  2057. >
  2058. >    1.  I know about ParcPlace and Digitalk.  Any other vendors?
  2059. >    (Somebody else was in Real Soon Now status, as I recall.)
  2060.  
  2061. Check out SmalltalkAgents from Quasar Knowledge Systems.  The info
  2062. they sent me was very impressive.  There's a good article in the 
  2063. April '94 edition of MacTech.  SmalltalkAgents is a superset of standard
  2064. Smalltalk, but it seems to have good access to Toolbox calls and
  2065. external (i.e., C, Pascal) code routines.
  2066.  
  2067. QKS - 1-800-296-1339, info@qks.com
  2068.  
  2069. Geof Burian
  2070. gburian@island.net
  2071.  
  2072. +++++++++++++++++++++++++++
  2073.  
  2074. >From kiisaka@is.morgan.com (Ken Iisaka)
  2075. Date: Wed, 2 Nov 1994 23:00:26 GMT
  2076. Organization: Or Lack Thereof
  2077.  
  2078. In article <3918ks$a5l@epaus.island.net>, gburian@epaus.island.net (Geoff Burian) writes:
  2079. |> In article <nagleCyDDw4.EAy@netcom.com>, John Nagle <nagle@netcom.com> wrote:
  2080. |> >    I've been away from Smalltalk on the Mac for a while, and I need
  2081. |> >to get up to date.  I'd appreciate answers to the following questions.
  2082. |> >
  2083. |> >    1.  I know about ParcPlace and Digitalk.  Any other vendors?
  2084. |> >    (Somebody else was in Real Soon Now status, as I recall.)
  2085. |> 
  2086. |> Check out SmalltalkAgents from Quasar Knowledge Systems.  The info
  2087. |> they sent me was very impressive.  There's a good article in the 
  2088. |> April '94 edition of MacTech.  SmalltalkAgents is a superset of standard
  2089.                                                                    ^^^^^^^^
  2090. |> Smalltalk, but it seems to have good access to Toolbox calls and
  2091.  
  2092. What standard Smalltalk?  The ANSI ST?  PPS?  Digitalk?  There is no
  2093. standard that I know of that has been implemented. 
  2094.  
  2095. -- 
  2096. |  ###    ###  |  ###   ###   ###  |  ###    ###  |  ###   ###   ###  |
  2097. |  ###    ###  |  ###   ###   ###  |  ###    ###  |  ###   ###   ###  |
  2098. |  ###    ###  |  ###   ###   ###  |  ###    ###  |  ###   ###   ###  |
  2099. |  ###    ###  |  ###   ###   ###  |  ###    ###  |  ###   ###   ###  |
  2100. |    |    |    |    |    |    |    |    |    |    |    |    |    |    |
  2101. |  Ken Iisaka  |  (kiisaka@morgan.com)  |  Morgan Stanley & Co. Inc   |
  2102. |  1 Pierrepont Plz, Brooklyn, NY 11201 |   All disclaimers apply.    |
  2103. |____|____|____|____|____|____|____|____|____|____|____|____|____|____|___
  2104. "Smalltalk Goes Object Oriented" - INFORMATIONWEEK, August 8, 1994, pg. 58
  2105.  
  2106. ---------------------------
  2107.  
  2108. >From gpointer@guest.adelaide.edu.au (Geoff Pointer)
  2109. Subject: What is MIDI Manager etc (reply)
  2110. Date: 1 Nov 1994 00:26:05 GMT
  2111. Organization: PatchUp
  2112.  
  2113. There's nothing wrong with writing your own MIDI driver unless
  2114. you don't have to (for kicks??). The whole point of an *idea*
  2115. like MIDI Manager is to provide programmers with a consistent
  2116. interface to work with that fits in with the multiprogramming
  2117. environment. The problem seems to be that for obscure business
  2118. reasons Apple has remained light on the provision and support
  2119. of MIDI facilities. Having a MIDI Manager is just like having
  2120. a File Manager or a Dialog Manager, ie, built in support.
  2121.    Unfortunately few *big* software companies are behind its
  2122. use because its been a long time coming of age and hasn't yet.
  2123. I personally would rather not have to write my own MIDI Driver
  2124. so I intend to pursue development with the MIDI manager. The
  2125. problem with music programs in a multiprogramming environment
  2126. is the use of the serial port, if you have several MIDI programs
  2127. running at once for different purposes they argue about who's
  2128. going to get the port and you often end up having to reboot.
  2129. To avoid this you use them independently which is anathema
  2130. to modern operating systems.
  2131.    The beauty of the MIDI Manager is the way it arbitrates the
  2132. use of the serial port. Now, someone here mentioned that there
  2133. are programs that let you do both - use the port directly or use
  2134. it via the MIDI Manager. Cubase is supposedly one of these -
  2135. HAH!!, as soon as you play back a piece in Cubase, via MM, any
  2136. program that uses MM solely gets nowhere. You have to open
  2137. PatchBay and turn off the port and turn it back on again every
  2138. time.
  2139.    I am still having difficulty with discovering which way to
  2140. go from this point of view as I believe the idea of being able
  2141. to have several MIDI tools open at once working in harmony is
  2142. one of the most important aspects of MIDI programming today.
  2143. Phew, there, I said it.
  2144.  
  2145. - --------- Cheers - Geoff %^> ----------
  2146.  
  2147. What???..... No signature!!??.... OK, I give in:
  2148.  
  2149. "I'm not afraid of dying. ...
  2150.    I just don't want to be there when it happens."  Woody Allen.
  2151.  
  2152. - ---------------------------------------
  2153.  
  2154.  
  2155. +++++++++++++++++++++++++++
  2156.  
  2157. >From magma@cray-ymp.acm.stuorg.vt.edu (Christian Fowler)
  2158. Date: 2 Nov 1994 17:57:19 GMT
  2159. Organization: ACM Student Machine
  2160.  
  2161.  
  2162. You can get the OMS (open Midi System) Development kit from Opcode for
  2163. about $15.00. Several big name apps use it like Vision/StudiVision/Galaxy
  2164. (of course) as well as Deck, SampleCell II Editor, and maybe the newest
  2165. Cubase, but I'm not sure on that one. Anyway, OMS is very nice.
  2166.  
  2167. --
  2168.   +-+
  2169. +-+|+-+ Christian Fowler | shape
  2170. +-+|+-+ magma@acm.vt.edu | FACTOR moMeNt
  2171.   +-+
  2172.  
  2173.  
  2174.  
  2175. ---------------------------
  2176.  
  2177. End of C.S.M.P. Digest
  2178. **********************
  2179.  
  2180.  
  2181. ˇ